Skip to content

Commit

Permalink
fix: faulted feature gradient was incorrect
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlangrose committed Sep 5, 2024
1 parent 7ad2311 commit 4ba56c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LoopStructural/modelling/features/_geological_feature.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def evaluate_gradient(
values = self.interpolator.evaluate_value(tetrahedron_faulted.reshape(-1, 3)).reshape(
(-1, 4)
)
v[mask, :] = gradient_from_tetrahedron(tetrahedron_faulted[mask, :, :], values[mask])
v[mask, :] = gradient_from_tetrahedron(tetrahedron[mask, :, :], values[mask])

return v
pos = self._apply_faults(pos)
Expand Down

0 comments on commit 4ba56c7

Please sign in to comment.