Skip to content

Commit

Permalink
fix strings to new convention
Browse files Browse the repository at this point in the history
  • Loading branch information
gboehl committed Oct 29, 2024
1 parent 40a1bba commit 312f048
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions econpizza/solvers/steady_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 312f048

Please sign in to comment.