Skip to content

Commit

Permalink
replace np.alltrue() -> np.all() in model_splitter.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wpbonelli committed Feb 4, 2024
1 parent 354255a commit 9f0d512
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flopy/mf6/utils/model_splitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ def optimize_splitting_mask(self, nparts):
mnums1 = membership[nodes1]
mnums2 = membership[nodes2]
ev = np.equal(mnums1, mnums2)
if np.alltrue(ev):
if np.all(ev):
continue
idx = np.where(~ev)[0]
mnum_to = mnums1[idx]
Expand Down

0 comments on commit 9f0d512

Please sign in to comment.