Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
DynareJulia
PolynomialMatrixEquations.jl
Commits
cf891fa9
Commit
cf891fa9
authored
Apr 27, 2020
by
MichelJuillard
Browse files
dgges: accept roudnoff error with warning
parent
16d8de35
Changes
1
Show whitespace changes
Inline
Side-by-side
src/GeneralizedSchurDecompositionSolver.jl
View file @
cf891fa9
...
...
@@ -56,7 +56,15 @@ end
#"""
function
gs_solver!
(
ws
::
GsSolverWs
,
d
::
Matrix
{
Float64
},
e
::
Matrix
{
Float64
},
n1
::
Int64
,
qz_criterium
::
Float64
)
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
println
(
"Warning: DGGES reports error
$
(e.error_nbr"
)
else
rethrow
(
e
)
end
end
nstable
=
ws
.
dgges_ws
.
sdim
[]
if
nstable
<
n1
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment