Commit 4271844f authored by michel's avatar michel
Browse files

v4 parser: M_.params initialized with Nan rather than zeros

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1243 ac1d8469-bf42-47a9-8791-bf33cf982152
parent bc703117
No preview for this file type
......@@ -1758,7 +1758,7 @@ ModelTree::writeOutput(ostream &output) const
output << "oo_.recur_steady_state = zeros(" << symbol_table.recur_nbr << ", 1);\n";
}
if (symbol_table.parameter_nbr)
output << "M_.params = zeros(" << symbol_table.parameter_nbr << ", 1);\n";
output << "M_.params = NaN(" << symbol_table.parameter_nbr << ", 1);\n";
}
void
......
Supports Markdown
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