Skip to content

Commit 2eafb18

Browse files
committed
[FIX] fix non running unit-test
1 parent 5a1f860 commit 2eafb18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SDDPoptimize.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ function run_SDDP!(model::SPModel,
146146

147147
##########
148148
# Estimate final upper bound with param.monteCarloSize simulations:
149-
if (verbose>0) && (param.compute_upper_bound != 0)
149+
if (verbose>0) && (param.compute_upper_bound >= 0)
150150
V0 = get_bellman_value(model, param, 1, V[1], model.initialState)
151151

152152
if param.compute_upper_bound == 0

0 commit comments

Comments
 (0)