make initial P nullable

This commit is contained in:
kalmarek 2017-10-27 14:28:38 +02:00
parent 46a9150266
commit 32c020fd88
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ end
function compute_λandP(m, varλ, varP)
λ = 0.0
P = nothing
P = Vector{Nullable{Array{Float64,2}}}
while λ == 0.0
try
solve_SDP(m)