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
6cb7a5f1
Commit
6cb7a5f1
authored
Jun 06, 2012
by
Ferhat Mihoubi
Browse files
Corrects a bug in the arguments returned by bytecode
parent
7dbd826d
Changes
1
Hide whitespace changes
Inline
Side-by-side
mex/sources/bytecode/bytecode.cc
View file @
6cb7a5f1
...
...
@@ -439,9 +439,12 @@ main(int nrhs, const char *prhs[])
for
(
int
i
=
0
;
i
<
nb_blocks
;
i
++
)
{
mxSetFieldByNumber
(
plhs
[
2
],
i
,
jacob_field_number
,
interprete
.
get_jacob
(
i
));
mxSetFieldByNumber
(
plhs
[
2
],
i
,
jacob_exo_field_number
,
interprete
.
get_jacob_exo
(
i
));
mxSetFieldByNumber
(
plhs
[
2
],
i
,
jacob_exo_det_field_number
,
interprete
.
get_jacob_exo_det
(
i
));
mxSetFieldByNumber
(
plhs
[
2
],
i
,
jacob_other_endo_field_number
,
interprete
.
get_jacob_other_endo
(
i
));
if
(
!
steady_state
)
{
mxSetFieldByNumber
(
plhs
[
2
],
i
,
jacob_exo_field_number
,
interprete
.
get_jacob_exo
(
i
));
mxSetFieldByNumber
(
plhs
[
2
],
i
,
jacob_exo_det_field_number
,
interprete
.
get_jacob_exo_det
(
i
));
mxSetFieldByNumber
(
plhs
[
2
],
i
,
jacob_other_endo_field_number
,
interprete
.
get_jacob_other_endo
(
i
));
}
}
}
}
...
...
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