Skip to content

Commit 4ba56c7

Browse files
committed
fix: faulted feature gradient was incorrect
1 parent 7ad2311 commit 4ba56c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LoopStructural/modelling/features/_geological_feature.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def evaluate_gradient(
200200
values = self.interpolator.evaluate_value(tetrahedron_faulted.reshape(-1, 3)).reshape(
201201
(-1, 4)
202202
)
203-
v[mask, :] = gradient_from_tetrahedron(tetrahedron_faulted[mask, :, :], values[mask])
203+
v[mask, :] = gradient_from_tetrahedron(tetrahedron[mask, :, :], values[mask])
204204

205205
return v
206206
pos = self._apply_faults(pos)

0 commit comments

Comments
 (0)