Update approx-predict.cpp