Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dóra Kocsis
dynare
Commits
d22b86c2
Commit
d22b86c2
authored
Aug 29, 2011
by
Houtan Bastani
Browse files
clarify error message
parent
49b28695
Changes
2
Hide whitespace changes
Inline
Side-by-side
matlab/dr1.m
View file @
d22b86c2
...
@@ -363,6 +363,7 @@ else % use original Dynare solver
...
@@ -363,6 +363,7 @@ else % use original Dynare solver
if
info1
if
info1
info
(
1
)
=
2
;
info
(
1
)
=
2
;
info
(
2
)
=
info1
;
info
(
2
)
=
info1
;
info
(
3
)
=
size
(
e
,
2
);
return
return
end
end
...
...
matlab/print_info.m
View file @
d22b86c2
...
@@ -33,8 +33,9 @@ if ~noprint
...
@@ -33,8 +33,9 @@ if ~noprint
error
([
'The model doesn
''
t determine the current variables'
...
error
([
'The model doesn
''
t determine the current variables'
...
' uniquely'
])
' uniquely'
])
case
2
case
2
error
([
'MJDGGES returns the following error code: '
...
error
([
'The generalized Schur (QZ) decomposition failed. '
...
int2str
(
info
(
2
))])
'For more information, see the documentation for Lapack function dgges: info='
...
int2str
(
info
(
2
))
', n='
int2str
(
info
(
3
))])
case
3
case
3
error
([
'Blanchard Kahn conditions are not satisfied: no stable'
...
error
([
'Blanchard Kahn conditions are not satisfied: no stable'
...
' equilibrium'
])
' equilibrium'
])
...
@@ -105,4 +106,4 @@ if ~noprint
...
@@ -105,4 +106,4 @@ if ~noprint
otherwise
otherwise
error
(
'This case shouldn
''
t happen. Contact the authors of Dynare'
)
error
(
'This case shouldn
''
t happen. Contact the authors of Dynare'
)
end
end
end
end
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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