scipy/scipy — pull request #2807 by andreas-h (2013-08-28 07:38:37+00:00)
Title: ENH: re-run SmoothBivariateSpline on too low work memory failures

`SmoothBivariateSpline` always disabled `lwrk2` memory in `surfit_smth`, which could lead to wrong results. This PR checks the value of the `ier` error attribute and re-runs `surfit_smth` if `ier>10`.
Fixes #1530.