Skip to content

Commit e9e1548

Browse files
committed
add ho
1 parent 478e3f3 commit e9e1548

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lectures/cons_smooth.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ def compute_variation(model, ξ1, ϕ, a0, y_seq, verbose=1):
429429
if verbose == 1:
430430
print('check feasible:', np.isclose(β_seq @ v_seq, 0)) # since β = 1/R
431431
432-
c_opt, _ = compute_optimal(model, a0, y_seq)
432+
c_opt, _, _ = compute_optimal(model, a0, y_seq)
433433
cvar_seq = c_opt + v_seq
434434
435435
return cvar_seq

0 commit comments

Comments
 (0)