From eb340edacd2e3fcc5af1ef4a64b604cbc793d82a Mon Sep 17 00:00:00 2001 From: Andreas Holm <60451789+holm10@users.noreply.github.com> Date: Wed, 8 May 2024 20:40:23 -0700 Subject: [PATCH] Fixes print statement for failed cont. solve --- src/uedge/rundt.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/uedge/rundt.py b/src/uedge/rundt.py index 6494559a..0143cb1c 100644 --- a/src/uedge/rundt.py +++ b/src/uedge/rundt.py @@ -1232,7 +1232,8 @@ def dtsolve(dtdeltafac): print('===== CONTINUATION SOLVE FAILED =====') print('=====================================') print('Last successful step for {}: {:.4e}'.format(\ - self.var, self.lastsuccess) + str(list(self.var.keys())).replace('[','').replace(']',''), + self.lastsuccess) ) return # Start trying to reset convergence