Commit d663d707 authored by Pierre Cazenave's avatar Pierre Cazenave

Fix reference to removed method.

parent 4ddc6b28
Pipeline #772 failed with stage
......@@ -1072,7 +1072,7 @@ class Model(Domain):
# Now drop all those indices from the relevant river data.
for field in self.obj_iter(self.river):
if field != 'time':
setattr(self.river, field, np.delete(getattr(self.river, field), self.__flatten_list(boundary_river_indices), axis=-1))
setattr(self.river, field, np.delete(getattr(self.river, field), flatten_list(boundary_river_indices), axis=-1))
# Update the dimension too.
self.dims.river -= len(boundary_river_indices)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment