k-order DLL: fix bug related to number of rows of matrix of endogenous
(nb_row_x was incorrectly initialized in dynamic C file)time-shift
parent
32bf5e9a0e
commit
eea1bcc27c
|
@ -92,7 +92,7 @@ void
|
|||
DynamicModelDLL::eval(const Vector &y, const Vector &x, const Vector &modParams, const Vector &ySteady,
|
||||
Vector &residual, TwoDMatrix *g1, TwoDMatrix *g2, TwoDMatrix *g3) throw (DynareException)
|
||||
{
|
||||
Dynamic(y.base(), x.base(), nExog, modParams.base(), ySteady.base(), 0, residual.base(),
|
||||
Dynamic(y.base(), x.base(), 1, modParams.base(), ySteady.base(), 0, residual.base(),
|
||||
g1 == NULL ? NULL : g1->base(),
|
||||
g2 == NULL ? NULL : g2->base(), g3 == NULL ? NULL : g3->base());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue