Skip to content

Commit 8b450c0

Browse files
authored
Merge pull request #110 from keiyamamo/fix_time_print
print time with eight digits instead of four
2 parents 80c9a08 + f14708c commit 8b450c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

turtleFSI/problems/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ def print_information(counter, t, T, dt, timer, previous_t, verbose, **namespace
398398
"""Print information about the time step and solver time"""
399399
elapsed_time = timer.elapsed()[0] - previous_t
400400
if verbose:
401-
txt = "Solved for timestep {:d}, t = {:2.04f} in {:3.1f} s"
401+
txt = "Solved for timestep {:d}, t = {:2.08f} in {:3.1f} s"
402402
txt = txt.format(counter, t, elapsed_time)
403403
print(txt)
404404
else:

0 commit comments

Comments
 (0)