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 cc3566c commit 3c1c772
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions econpizza/solvers/steady_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,7 @@ 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 " + \
f"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 3c1c772

Please sign in to comment.