We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2a82d2 commit 322a538Copy full SHA for 322a538
cf_xarray/helpers.py
@@ -368,7 +368,7 @@ def _is_bounds_monotonic(bounds: np.ndarray) -> bool:
368
if nonzero_diffs.size == 0:
369
return True
370
371
- return np.all(nonzero_diffs > 0) or np.all(nonzero_diffs < 0)
+ return bool(np.all(nonzero_diffs > 0) or np.all(nonzero_diffs < 0))
372
373
374
def _get_order_of_core_dims(core_dim_orders: dict[str, str]) -> str:
0 commit comments