Skip to content

Commit b333e10

Browse files
authored
Merge pull request PSLmodels#1064 from maxkossek/logging_fix
Fix logging.warning call in SS
2 parents 61de262 + 5a0907f commit b333e10

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ogcore/SS.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1083,7 +1083,7 @@ def SS_solver(
10831083
)
10841084

10851085
if ENFORCE_SOLUTION_CHECKS and (max(np.absolute(RC)) > p.RC_SS):
1086-
logging.warning("Resource Constraint Difference:", RC)
1086+
logging.warning(f"Resource Constraint Difference: {RC}")
10871087
err = "Steady state aggregate resource constraint not satisfied"
10881088
raise RuntimeError(err)
10891089

0 commit comments

Comments
 (0)