Error out instead of applying 1D Nelder-Mead