Fixed dynamic model (julia output)

The number of columns in the Jacobian matrix is the number of endogenous
variables appearing at time t-1, t and t+1 plus the number of exogenous
variables.
time-shift
Stéphane Adjemian (Hermes) 2016-06-14 10:29:10 +02:00
parent 9ca893ca1d
commit d86e78ab01
1 changed files with 1 additions and 1 deletions

View File

@ -2414,7 +2414,7 @@ DynamicModel::writeDynamicModel(ostream &DynamicOutput, bool use_dll, bool julia
<< " steady_state::Vector{Float64}, it_::Int, "
<< "residual::Vector{Float64})" << endl
<< "#=" << endl << comments.str() << "=#" << endl
<< " @assert length(y) == " << dynJacobianColsNbr << endl
<< " @assert length(y)+size(x, 2) == " << dynJacobianColsNbr << endl
<< " @assert length(params) == " << symbol_table.param_nbr() << endl
<< " @assert length(residual) == " << nrows << endl
<< " #" << endl