Preprocessor: also perform numeric initializations in stochastic context

issue#70
Sébastien Villemot 2010-11-25 16:04:56 +01:00
parent eaad0b1263
commit 33d340dd04
1 changed files with 2 additions and 4 deletions

View File

@ -317,11 +317,9 @@ ModFile::computingPass(bool no_tmp_terms)
// Set things to compute for dynamic model
if (dynamic_model_needed)
{
dynamic_model.initializeVariablesAndEquations();
if (mod_file_struct.simul_present)
{
dynamic_model.initializeVariablesAndEquations();
dynamic_model.computingPass(true, false, false, false, global_eval_context, no_tmp_terms, block, use_dll, byte_code);
}
dynamic_model.computingPass(true, false, false, false, global_eval_context, no_tmp_terms, block, use_dll, byte_code);
else
{
if (mod_file_struct.order_option < 1 || mod_file_struct.order_option > 3)