Skip to content

Commit

Permalink
fix: 💚 axis label missing from PLI mesh
Browse files Browse the repository at this point in the history
Missing array causing issue with CD
  • Loading branch information
Lachlan Grose committed Sep 7, 2021
1 parent 1711315 commit d52ad3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions LoopStructural/modelling/core/geological_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,7 @@ def get_interpolator(self, interpolatortype='FDI', nelements=1e4,
# number of steps is the length of the box / step vector
nsteps = np.ceil((bb[1, :] - bb[0, :]) / step_vector).astype(int)
if np.any(np.less(nsteps, 3)):
axis_labels = ['x','y','z']
for i in range(3):
if nsteps[i] < 3:
logger.error("Number of steps in direction {} is too small, try increasing nelements".format(axis_labels[i]))
Expand Down

0 comments on commit d52ad3f

Please sign in to comment.