Skip to content
Snippets Groups Projects
Commit e5c7e848 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Preprocessor: also perform numeric initializations in stochastic context

parent b356c5e5
No related branches found
No related tags found
No related merge requests found
...@@ -316,12 +316,10 @@ ModFile::computingPass(bool no_tmp_terms) ...@@ -316,12 +316,10 @@ ModFile::computingPass(bool no_tmp_terms)
} }
// Set things to compute for dynamic model // Set things to compute for dynamic model
if (dynamic_model_needed) if (dynamic_model_needed)
{
if (mod_file_struct.simul_present)
{ {
dynamic_model.initializeVariablesAndEquations(); dynamic_model.initializeVariablesAndEquations();
if (mod_file_struct.simul_present)
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 else
{ {
if (mod_file_struct.order_option < 1 || mod_file_struct.order_option > 3) if (mod_file_struct.order_option < 1 || mod_file_struct.order_option > 3)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment