Preprocessor update

— various refactoring and bugfixes in block decomposition
— small bugfix for PAC models
parent 09617453
......@@ -604,7 +604,7 @@ Interpreter::ReadCodeFile(string file_name, CodeLoad &code)
void
Interpreter::check_for_controlled_exo_validity(FBEGINBLOCK_ *fb, vector<s_plan> sconstrained_extended_path)
{
vector<unsigned int> exogenous = fb->get_exogenous();
vector<int> exogenous = fb->get_exogenous();
vector<int> endogenous = fb->get_endogenous();
for (vector<s_plan>::iterator it = sconstrained_extended_path.begin(); it != sconstrained_extended_path.end(); it++)
{
......@@ -627,8 +627,8 @@ Interpreter::check_for_controlled_exo_validity(FBEGINBLOCK_ *fb, vector<s_plan>
throw FatalExceptionHandling(tmp.str());
}
}
for (vector<unsigned int>::iterator it = exogenous.begin(); it != exogenous.end(); it++)
previous_block_exogenous.push_back(*it);
for (auto it : exogenous)
previous_block_exogenous.push_back(it);
}
bool
......
Subproject commit 27a8b3b70ed93e45f17e9792d0a23ea781b2b4dc
Subproject commit c699d57308ed766ab6b9a6f6fd690c81d0656cb4
Markdown is supported
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