Preprocessor: also perform numeric initializations in stochastic context

time-shift
Sébastien Villemot 2010-11-25 16:04:56 +01:00
parent b356c5e58e
commit e5c7e848e4
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)