Commit 6cb7a5f1 authored by Ferhat Mihoubi's avatar Ferhat Mihoubi
Browse files

Corrects a bug in the arguments returned by bytecode

parent 7dbd826d
......@@ -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));
}
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment