Commit cf8f793c authored by Sébastien Villemot's avatar Sébastien Villemot

k_order_perturbation: give a value to model residuals, otherwise valgrind logs...

k_order_perturbation: give a value to model residuals, otherwise valgrind logs are cluttered with unitialized value errors
parent 34ab1a56
......@@ -126,14 +126,16 @@ KordpDynare::solveDeterministicSteady()
void
KordpDynare::evaluateSystem(Vector &out, const Vector &yy, const Vector &xx) throw (DynareException)
{
// Nothing to do, this method is only implemented to complete the interface of DynamicModel
// This method is only called when checking the residuals at steady state (Approximation::check), so return zero residuals
out.zeros();
}
void
KordpDynare::evaluateSystem(Vector &out, const Vector &yym, const Vector &yy,
const Vector &yyp, const Vector &xx) throw (DynareException)
{
// Nothing to do, this method is only implemented to complete the interface of DynamicModel
// This method is only called when checking the residuals at steady state (Approximation::check), so return zero residuals
out.zeros();
}
/************************************************
......
Markdown is supported
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