Skip to content

Commit

Permalink
Fix small typos in diagonal_balance warning
Browse files Browse the repository at this point in the history
Add missing space between "have" and "previously", fix spelling in
"behavior".
  • Loading branch information
santisoler committed Nov 20, 2024
1 parent 8d780d2 commit 12c3c4a
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 12c3c4a

Please sign in to comment.