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-bf33cf982152issue#70
parent
1a3243520d
commit
eb6b9b0414
|
@ -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";
|
||||||
|
|
Loading…
Reference in New Issue