From 14dfe779b7fe336a82847c0af1af56ddc4429c3b Mon Sep 17 00:00:00 2001 From: ss2098 Date: Sat, 20 Dec 2025 10:19:52 -0900 Subject: [PATCH] Fix f-string and remove forced crash in 15-Thermal-convection-with-units.py (release candidate) --- docs/beginner/tutorials/15-Thermal-convection-with-units.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/beginner/tutorials/15-Thermal-convection-with-units.py b/docs/beginner/tutorials/15-Thermal-convection-with-units.py index 49ed602c..9a3a2646 100644 --- a/docs/beginner/tutorials/15-Thermal-convection-with-units.py +++ b/docs/beginner/tutorials/15-Thermal-convection-with-units.py @@ -302,7 +302,7 @@ # Null space ? for step in range(0, max_steps): - print(f"Timestep: {timestep}, dt: {delta_t.to("Myr")}, time: {elapsed_time}") + print(f"Timestep: {timestep}, dt: {delta_t.to('Myr')}, time: {elapsed_time}") stokes.solve(zero_init_guess=True) delta_t = 2 * adv_diff.estimate_dt() @@ -314,7 +314,7 @@ # %% -0/0 +#0/0 # %% # visualise it