Update dynamicRegressorGenerator.cpp