Skip to content
Snippets Groups Projects
Commit eb6b9b04 authored by sebastien's avatar sebastien
Browse files

trunk: fixed bug with USE_DLL (stoch_simul was calling stoch_simul_sparse,...

trunk: fixed bug with USE_DLL (stoch_simul was calling stoch_simul_sparse, because of wrong handling of options_.model_mode)


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2571 ac1d8469-bf42-47a9-8791-bf33cf982152
parent 1a324352
No related branches found
No related tags found
No related merge requests found
...@@ -169,7 +169,7 @@ StochSimulStatement::writeOutput(ostream &output, const string &basename) const ...@@ -169,7 +169,7 @@ StochSimulStatement::writeOutput(ostream &output, const string &basename) const
{ {
options_list.writeOutput(output); options_list.writeOutput(output);
symbol_list.writeOutput("var_list_", output); symbol_list.writeOutput("var_list_", output);
output << "if(options_.model_mode)\n"; output << "if (options_.model_mode == 1 || options_.model_mode == 3)\n";
output << " info = stoch_simul_sparse(var_list_);\n"; output << " info = stoch_simul_sparse(var_list_);\n";
output << "else\n"; output << "else\n";
output << " info = stoch_simul(var_list_);\n"; output << " info = stoch_simul(var_list_);\n";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment