Commit 9514e7cf authored by Pierre Cazenave's avatar Pierre Cazenave
Browse files

Remove useless if statement.

parent 49e8dea4
......@@ -2494,9 +2494,6 @@ class Model(Domain):
'elements': np.isin(elements, boundary.elements)}
for var in out_dict:
if var == 'time':
this_index = temp_indices[out_dict[var][1]]
# Skip out if we don't have any indices for this grid position (e.g. elements on the last
# boundary in a nest).
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