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:
parent
ada830f5d5
commit
837988c381
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user