Commit e5c7e848 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Preprocessor: also perform numeric initializations in stochastic context

parent b356c5e5
......@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment