diff --git a/mex/sources/bytecode/Interpreter.cc b/mex/sources/bytecode/Interpreter.cc index a9f919885afad912745764fda6f9a13ae753b9b4..a3aa0bbe32786bd12e5c2f649cd7566fb7abab41 100644 --- a/mex/sources/bytecode/Interpreter.cc +++ b/mex/sources/bytecode/Interpreter.cc @@ -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 diff --git a/preprocessor b/preprocessor index 27a8b3b70ed93e45f17e9792d0a23ea781b2b4dc..c699d57308ed766ab6b9a6f6fd690c81d0656cb4 160000 --- a/preprocessor +++ b/preprocessor @@ -1 +1 @@ -Subproject commit 27a8b3b70ed93e45f17e9792d0a23ea781b2b4dc +Subproject commit c699d57308ed766ab6b9a6f6fd690c81d0656cb4