diff --git a/lib/iris/coords.py b/lib/iris/coords.py index 2c8b3a3100..82e75c0629 100644 --- a/lib/iris/coords.py +++ b/lib/iris/coords.py @@ -1213,8 +1213,7 @@ def serialize(x): # Determine the right array method for stacking stack_method = da.stack if self.has_bounds() \ - and is_lazy_data(self.core_bounds()) \ - else np.stack + and is_lazy_data(self.core_bounds()) else np.stack item = stack_method(self.core_bounds()) if self.has_bounds() \ else self.core_points()