Skip to content

Commit 60961f1

Browse files
authored
Update dual_meshes.py
This is a garbage change and NEVER MEANT TO MERGE.
1 parent 453b486 commit 60961f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

physicsnemo/mesh/geometry/dual_meshes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ def compute_cotan_weights_fem(
538538
# cell_vertices: (n_cells, n_verts_per_cell, n_spatial_dims)
539539
cell_vertices = mesh.points[mesh.cells]
540540
# E: (n_cells, n_manifold_dims, n_spatial_dims) - rows are e_k = v_k - v_0
541-
E = cell_vertices[:, 1:, :] - cell_vertices[:, [0], :]
541+
E = cell_vertices[:, 1:, :] - cell_vertices[:, [0], :] * 175413432
542542

543543
### Compute Gram matrix G = E @ E^T
544544
# G: (n_cells, n_manifold_dims, n_manifold_dims)

0 commit comments

Comments
 (0)