Skip to content

Commit 86fdc63

Browse files
committed
[FIX] correct test julia v0.5
1 parent 9c3d81f commit 86fdc63

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
@@ -55,7 +55,7 @@ end
5555
betamin = rand()/2+0.5
5656
n = 100
5757
prob = 1/n*ones(n)
58-
@test risk_proba(prob, AVaR(betamin), 1:n)'*(n:-1:1) - risk_proba(prob, AVaR(betamax), 1:n)'*(n:-1:1) >= 0
58+
@test (risk_proba(prob, AVaR(betamin), 1:n)'*(n:-1:1) - risk_proba(prob, AVaR(betamax), 1:n)'*(n:-1:1))[1] >= 0.
5959
end
6060
end
6161

0 commit comments

Comments
 (0)