Skip to content

Commit d5844dc

Browse files
authored
fix align
1 parent d7b8d43 commit d5844dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lapy/diffgeo.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ def tet_compute_gradient(tet, vfunc):
668668
For a tetrahedron :math:`(v_i, v_j, v_k, v_h)` with volume V we have:
669669
670670
.. math::
671-
grad(f) = \left[ & (f_j - f_i) (v_i-v_k) \times (v_h-v_k) \\
671+
grad(f) &= \left[ (f_j - f_i) (v_i-v_k) \times (v_h-v_k) \\
672672
& + (f_k - f_i) (v_i-v_h) \times (v_j-v_h) \\
673673
& + (f_h - f_i) (v_k-v_i) \times (v_j-v_i) \right] / (6 V).
674674

0 commit comments

Comments
 (0)