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 3c1c772 commit b52a9d9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions econpizza/solvers/steady_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,7 @@ def solve_stst(self, tol=1e-8, maxit=15, tol_backwards=None, maxit_backwards=200
if mess:
not_var_nor_par = list(
set(self['steady_state']['fixed_values']) - set(evars) - set(par_names))
mess += f"Fixed value(s) ``{'``, ``'.join(not_var_nor_par)
}`` " + f"not declared. " if not_var_nor_par else ''
mess += f"Fixed value(s) ``{'``, ``'.join(not_var_nor_par)}`` not declared. " if not_var_nor_par else ''

if err > tol or not res['success']:
if not res["success"] or raise_errors:
Expand Down

0 comments on commit b52a9d9

Please sign in to comment.