v4 parser: NaN() is only available in recent Matlab version, changed to repmat(NaN,..,1);

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1335 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
michel 2007-07-02 12:48:38 +00:00
parent 125b4c004a
commit db89b91a5e
1 changed files with 1 additions and 1 deletions

View File

@ -1962,7 +1962,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 = NaN(" << symbol_table.parameter_nbr << ", 1);\n";
output << "M_.params = repmat(NaN," << symbol_table.parameter_nbr << ", 1);\n";
}
void