gmres_single routine doesn't produce correct output; the on-the-fly minimization procedure isn't working.
gmres_single