Estimation DLL: fix bug related to number of rows of matrix of endogenous (nb_row_x was incorrectly initialized in dynamic C file)
parent
eea1bcc27c
commit
dbbe177ed6
|
@ -94,6 +94,6 @@ void
|
|||
DynamicModelDLL::eval(const Vector &y, const Matrix &x, const Vector &modParams, VectorView &ySteady,
|
||||
Vector &residual, Matrix *g1, Matrix *g2, Matrix *g3) throw (TSException)
|
||||
{
|
||||
Dynamic(y.getData(), x.getData(), n_exog, modParams.getData(), ySteady.getData(), 0, residual.getData(),
|
||||
Dynamic(y.getData(), x.getData(), 1, modParams.getData(), ySteady.getData(), 0, residual.getData(),
|
||||
g1 == NULL ? NULL : g1->getData(), g2 == NULL ? NULL : g2->getData(), g3 == NULL ? NULL : g3->getData());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue