mirror of
https://github.com/kalmarek/PropertyT.jl.git
synced 2024-11-27 01:10:28 +01:00
Revert "fix: don't throw exception in kandA"
This reverts commit 837988c381
.
This commit is contained in:
parent
450d43ed14
commit
a827f8c425
@ -109,6 +109,8 @@ 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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user