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
Sébastien Villemot 2010-10-05 15:28:15 +02:00
parent 32bf5e9a0e
commit eea1bcc27c
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}