We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f34b2c9 commit fe2e7a9Copy full SHA for fe2e7a9
1 file changed
kwave/options/simulation_execution_options.py
@@ -209,7 +209,7 @@ def checkpoint_interval(self) -> Optional[int]:
209
@checkpoint_interval.setter
210
def checkpoint_interval(self, value: Optional[int]):
211
if value is not None:
212
- if not isinstance(value, int) or value <= 0:
+ if not isinstance(value, int) or value < 0:
213
raise ValueError("Checkpoint interval must be a positive integer in seconds")
214
self._checkpoint_interval = value
215
0 commit comments