From 312f0487c9fec0f07ad8ddcefcd56556c72d98ec Mon Sep 17 00:00:00 2001 From: Gregor Boehl Date: Tue, 29 Oct 2024 15:27:46 +0100 Subject: [PATCH] fix strings to new convention --- econpizza/solvers/steady_state.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/econpizza/solvers/steady_state.py b/econpizza/solvers/steady_state.py index b5a2b64..fd090f6 100644 --- a/econpizza/solvers/steady_state.py +++ b/econpizza/solvers/steady_state.py @@ -156,8 +156,8 @@ def solve_stst(self, tol=1e-8, maxit=15, tol_backwards=None, maxit_backwards=200 nvars = len(evars)+len(par_names) nfixed = len(fixed_vals) if rank != nvars - nfixed: - mess += f"Jacobian has rank {rank} for {nvars - nfixed} degrees of freedom ({ - nfixed} out of a total of {nvars} variables/parameters were fixed). " + mess += f"Jacobian has rank {rank} for {nvars - nfixed} degrees of " + \ + "freedom ({nfixed} out of a total of {nvars} variables/parameters were fixed). " # check if any of the fixed variables are neither a parameter nor variable if mess: