Skip to content

Commit 308e3f0

Browse files
authored
fix align error
1 parent d5844dc commit 308e3f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lapy/diffgeo.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -668,9 +668,9 @@ 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) &= [ (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) \\
673-
& + (f_h - f_i) (v_k-v_i) \times (v_j-v_i) \right] / (6 V).
673+
& + (f_h - f_i) (v_k-v_i) \times (v_j-v_i) ] / (6 V).
674674
675675
Parameters
676676
----------

0 commit comments

Comments
 (0)