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 ...@@ -58,11 +58,11 @@ function gs_solver!(ws::GsSolverWs,d::Matrix{Float64},e::Matrix{Float64},n1::Int
try try
dgges!('N', 'V', e, d, zeros(1,1), ws.vsr, ws.eigval, ws.dgges_ws) dgges!('N', 'V', e, d, zeros(1,1), ws.vsr, ws.eigval, ws.dgges_ws)
catch e catch err
if e.error_nbr == size(e,1) + 2 if err.error_nbr == size(e,1) + 2
println("Warning: DGGES reports error $(e.error_nbr)") println("Warning: DGGES reports error $(e.error_nbr)")
else else
rethrow(e) rethrow(err)
end end
end end
nstable = ws.dgges_ws.sdim[] nstable = ws.dgges_ws.sdim[]
......
Supports Markdown
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