Skip to content

Commit ad4a566

Browse files
committed
[FIX] Use kernel 0.5.2 to correct unit test
1 parent d2ef0e1 commit ad4a566

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/changeprob.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ end
8080

8181
probaAVaR = risk_proba(prob, AVaR(beta), X)
8282

83-
@test abs(probaAVaR'*X - getobjectivevalue(m)) <= Float64(EPSILON)
83+
@test abs(probaAVaR'*X - getobjectivevalue(m))[1] <= EPSILON
8484
end
8585

8686
# The convex set of probabilty distributions of AVaR_{beta} is defined by

0 commit comments

Comments
 (0)