Commit 699345fd authored by MichelJuillard's avatar MichelJuillard
Browse files

fix name conflict

parent 291554ae
......@@ -58,11 +58,11 @@ function gs_solver!(ws::GsSolverWs,d::Matrix{Float64},e::Matrix{Float64},n1::Int
try
dgges!('N', 'V', e, d, zeros(1,1), ws.vsr, ws.eigval, ws.dgges_ws)
catch e
if e.error_nbr == size(e,1) + 2
catch err
if err.error_nbr == size(e,1) + 2
println("Warning: DGGES reports error $(e.error_nbr)")
else
rethrow(e)
rethrow(err)
end
end
nstable = ws.dgges_ws.sdim[]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment