Closed filippopecci closed 5 months ago
Attention: 1 lines
in your changes are missing coverage. Please review.
Comparison is base (
32db8be
) 0.07% compared to head (bf67d8b
) 0.07%.
Files | Patch % | Lines |
---|---|---|
src/multi_stage/dual_dynamic_programming.jl | 0.00% | 1 Missing :warning: |
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
The value of mysetup["CurrStage"] is modified in run_genx_case_multistage! inside a for loop. The dictionary mysetup is then passed to function run_ddp as setup_d and the current stage value is used by function initialize_cost_to_go but it is not updated to match the current stage, and left set to the last stage as done by parent function run_genx_case_multistage!.
This commit fixes that and set the right current stage in setup_d before initializing the cost-to-go.