1
0
mirror of https://github.com/kalmarek/PropertyT.jl.git synced 2024-11-30 10:00:28 +01:00

fix: don't throw exception in kandA

k <=0 is handled in the outside loop
This commit is contained in:
kalmar 2017-03-31 22:34:28 +02:00
parent ada830f5d5
commit 837988c381

View File

@ -109,8 +109,6 @@ function κandA(name::String, opts...)
if κ > 0 if κ > 0
save(κ_fname, "κ", κ) save(κ_fname, "κ", κ)
save(A_fname, "A", A) save(A_fname, "A", A)
else
throw(ErrorException("Solver $solver did not produce a valid solution!: κ = "))
end end
return κ, A return κ, A