allow REform in predict as well
change | to || in c++ code