diff --git a/src/problem/problem.cpp b/src/problem/problem.cpp index caf9e1115582963c64980a02bf10f15a8b0c108e..813077742ceca8ee0b7b60913fab479145c4298b 100644 --- a/src/problem/problem.cpp +++ b/src/problem/problem.cpp @@ -452,7 +452,7 @@ VectorComposite Problem::getState(const StateStructure& _structure) const // compose the states of all processor motions into one only state for (const auto& prc : processor_is_motion_list_) { - const auto& prc_state = prc->getState(); + const auto& prc_state = prc->getState(structure); for (const auto& pair_key_vec : prc_state) { if (state.count(pair_key_vec.first) == 0) // only add those keys that do not exist yet @@ -498,7 +498,7 @@ VectorComposite Problem::getState (const TimeStamp& _ts, const StateStructure& _ for (const auto& prc : processor_is_motion_list_) { - const auto& prc_state = prc->getState(_ts); + const auto& prc_state = prc->getState(_ts, structure); // transfer processor vector blocks to problem state for (const auto& pair_key_vec : prc_state)