Skip to content

Commit e22bd56

Browse files
ruff formatting
1 parent 3d2cea0 commit e22bd56

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/festim/helpers.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ def is_it_time_to_export(
325325
"""
326326
Checks if the exported field should be written to a file or not based on the
327327
current time and the times in `export.times'
328-
328+
329329
After a successful match, the corresponding time is removed from the list to
330330
prevent multiple exports for the same target time.
331331
@@ -341,7 +341,7 @@ def is_it_time_to_export(
341341
"""
342342
if times is None:
343343
return True
344-
344+
345345
for i, time in enumerate(times):
346346
if np.isclose(time, current_time, atol=atol, rtol=rtol):
347347
times.pop(i) # consume the time so it is not exported again
@@ -350,7 +350,6 @@ def is_it_time_to_export(
350350
return False
351351

352352

353-
354353
_residual0 = 0
355354
_prev_xnorm = 0
356355

0 commit comments

Comments
 (0)