Skip to content

Commit

Permalink
fix small bug
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickscholz committed Oct 30, 2024
1 parent 38aa22d commit dc9ab87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tripyview/sub_utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ def calc_basindomain_slow(mesh,box_moc,do_output=False):
def calc_basindomain_fast(mesh, which_moc='amoc', do_onelem=True, exclude_meditoce=False, basin_shppath=None):
#___________________________________________________________________________
# calculate/use index for basin domain limitation
if which_moc=='gmoc':
if which_moc=='gmoc' and basin_shppath is None:
#_______________________________________________________________________
if do_onelem: e_idxin = np.ones((mesh.n2de,), dtype=bool)
else : n_idxin = np.ones((mesh.n2dn,), dtype=bool)
Expand Down

0 comments on commit dc9ab87

Please sign in to comment.