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
2707965d
Commit
2707965d
authored
Dec 31, 2010
by
Ferhat Mihoubi
Browse files
- extends the compatibility of dr1 with bytecode
parent
7209f363
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/dr1.m
View file @
2707965d
...
...
@@ -176,9 +176,15 @@ else
oo_
.
exo_det_simul
],
M_
.
params
,
it_
);
end
;
elseif
options_
.
order
==
2
[
junk
,
jacobia_
,
hessian1
]
=
feval
([
M_
.
fname
'_dynamic'
],
z
,
...
if
(
options_
.
bytecode
)
[
chck
,
junk
,
loc_dr
]
=
bytecode
(
'dynamic'
,
'evaluate'
,
z
,[
oo_
.
exo_simul
...
oo_
.
exo_det_simul
],
M_
.
params
,
1
);
jacobia_
=
[
loc_dr
.
g1
loc_dr
.
g1_x
];
else
[
junk
,
jacobia_
,
hessian1
]
=
feval
([
M_
.
fname
'_dynamic'
],
z
,
...
[
oo_
.
exo_simul
...
oo_
.
exo_det_simul
],
M_
.
params
,
it_
);
end
;
if
options_
.
use_dll
% In USE_DLL mode, the hessian is in the 3-column sparse representation
hessian1
=
sparse
(
hessian1
(:,
1
),
hessian1
(:,
2
),
hessian1
(:,
3
),
...
...
...
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