bug fix all timesteps

This commit is contained in:
2022-09-27 11:02:29 +02:00
parent 3d647f4ec6
commit 8a3b29c954

View File

@@ -93,7 +93,7 @@ class mesh_maker:
# make all the other stls if called
if self.timesteps is not None:
if self.timesteps.any() == 'all':
if self.timesteps == 'all':
steps = np.arange(len(self.dyn_data['time']))
else:
steps = self.timesteps
@@ -119,7 +119,7 @@ class mesh_maker:
# make all the other stls if called
if self.timesteps is not None:
if self.timesteps.any() == 'all':
if self.timesteps == 'all':
steps = np.arange(len(self.dyn_data['time']))
else:
steps = self.timesteps