
discretionary_policy: fix noprint option

Output argument and return statement were missing
Merge request reports
Activity
added bug optimal policy labels
assigned to @sebastien
- Within
discretionary_policy_1.m
we missed a required output. That would always crashdiscretionary_policy
if the steady state could not be computed. -
discretionary_policy_1.m
callsstoch_simul
, which will provide an error message in case of an error code. But ifnoprint
was passed, it would return todiscretionary_policy_1.m
, which would try to output steady state values that could not be computed. Instead, we need to return to the caller function if there was an error code.
- Within
mentioned in commit 51e2ff30
Please register or sign in to reply