diff --git a/LoopStructural/modelling/features/_geological_feature.py b/LoopStructural/modelling/features/_geological_feature.py index a96179e1..a26f9e3a 100644 --- a/LoopStructural/modelling/features/_geological_feature.py +++ b/LoopStructural/modelling/features/_geological_feature.py @@ -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)