Skip to content

Commit

Permalink
Merge pull request #387 from simpeg/fix-typo
Browse files Browse the repository at this point in the history
Fix small typos in diagonal_balance warning
  • Loading branch information
jcapriot authored Dec 17, 2024
2 parents 9f10381 + 06a0d47 commit 9102097
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions discretize/tree_mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,9 @@ def __init__(self, h=None, origin=None, diagonal_balance=None, **kwargs):
diagonal_balance = False
warnings.warn(
"In discretize v1.0 the TreeMesh will change the default value of "
"diagonal_balance to True, which will likely slightly change meshes you have"
"previously created. If you need to keep the current behavoir, explicitly set "
"diagonal_balance to True, which will likely slightly change meshes "
"you have previously created. "
"If you need to keep the current behavior, explicitly set "
"diagonal_balance=False.",
FutureWarning,
stacklevel=2,
Expand Down

0 comments on commit 9102097

Please sign in to comment.