From 32c020fd8816fe0198a013bb242e1aad6c78bf1b Mon Sep 17 00:00:00 2001 From: kalmarek Date: Fri, 27 Oct 2017 14:28:38 +0200 Subject: [PATCH] make initial P nullable --- src/PropertyT.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PropertyT.jl b/src/PropertyT.jl index 35937e8..101c5da 100644 --- a/src/PropertyT.jl +++ b/src/PropertyT.jl @@ -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)