Skip to content

Commit

Permalink
Fix repeated combination.
Browse files Browse the repository at this point in the history
  • Loading branch information
pp-mo committed Oct 20, 2024
1 parent 984a59c commit 027b7a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/iris/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ def combine_cubes(cubes, options=None, merge_require_unique=False):
cubes = cubes.concatenate()

# Repeat if requested, and this step reduced the number of cubes
if not options["repeat_until_unchanged"] or len(cubes) < n_original_cubes:
if not options["repeat_until_unchanged"] or len(cubes) >= n_original_cubes:
break

return cubes
Expand Down

0 comments on commit 027b7a0

Please sign in to comment.