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
Dóra Kocsis
dynare
Commits
a0da4775
Commit
a0da4775
authored
Nov 07, 2013
by
Johannes Pfeifer
Browse files
Filters out error due to model being purely static.
First step in
#526
parent
b5732187
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/set_state_space.m
View file @
a0da4775
...
...
@@ -34,7 +34,7 @@ function dr=set_state_space(dr,DynareModel,DynareOptions)
%!
@end
deftypefn
%
@eod
:
%
Copyright
(
C
)
1996
-
201
2
Dynare
Team
%
Copyright
(
C
)
1996
-
201
3
Dynare
Team
%
%
This
file
is
part
of
Dynare
.
%
...
...
@@ -84,6 +84,9 @@ if max_lag > 0
end
kmask
=
[
kmask
;
lead_lag_incidence
(
1
,
order_var
)]
;
else
if
max_lead
==
0
%%
in
this
case
lead_lag_incidence
has
no
entry
max_lag
+
2
error
(
'
Dynare
currently
does
not
allow
to
solve
purely
static
models
in
a
stochastic
context
.
'
)
end
kmask
=
lead_lag_incidence
(
max_lag
+
2
,
order_var
)
;
end
...
...
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