Change DynMeans::updateState from void to std::vector<int>