Revert "fix: don't throw exception in kandA"

This reverts commit 837988c381.
This commit is contained in:
kalmar 2017-04-01 08:27:54 +02:00
parent 450d43ed14
commit a827f8c425
1 changed files with 2 additions and 0 deletions

View File

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