Skip to content
Snippets Groups Projects
Commit acf385b5 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

bug fix: change order of the way we handle expectation operators and trend vars in transformpass

parent 8ec89448
No related branches found
No related tags found
No related merge requests found
......@@ -226,6 +226,9 @@ ModFile::transformPass()
if (symbol_table.predeterminedNbr() > 0)
dynamic_model.transformPredeterminedVariables();
// Create auxiliary vars for Expectation operator
dynamic_model.substituteExpectation(mod_file_struct.partial_information);
if (nonstationary_variables)
{
dynamic_model.detrendEquations();
......@@ -233,9 +236,6 @@ ModFile::transformPass()
dynamic_model.removeTrendVariableFromEquations();
}
// Create auxiliary vars for Expectation operator
dynamic_model.substituteExpectation(mod_file_struct.partial_information);
if (mod_file_struct.stoch_simul_present
|| mod_file_struct.estimation_present
|| mod_file_struct.osr_present
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment