Skip to content

Commit

Permalink
fix align error
Browse files Browse the repository at this point in the history
  • Loading branch information
m-reuter authored Jan 17, 2025
1 parent d5844dc commit 308e3f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lapy/diffgeo.py
Original file line number Diff line number Diff line change
Expand Up @@ -668,9 +668,9 @@ def tet_compute_gradient(tet, vfunc):
For a tetrahedron :math:`(v_i, v_j, v_k, v_h)` with volume V we have:
.. math::
grad(f) &= \left[ (f_j - f_i) (v_i-v_k) \times (v_h-v_k) \\
grad(f) &= [ (f_j - f_i) (v_i-v_k) \times (v_h-v_k) \\
& + (f_k - f_i) (v_i-v_h) \times (v_j-v_h) \\
& + (f_h - f_i) (v_k-v_i) \times (v_j-v_i) \right] / (6 V).
& + (f_h - f_i) (v_k-v_i) \times (v_j-v_i) ] / (6 V).
Parameters
----------
Expand Down

0 comments on commit 308e3f0

Please sign in to comment.