scipy/scipy — pull request #3929 by venthur (2014-08-31 10:49:15+00:00)
Title: Added a warning about leastsq using with NaNs.

Added a warning that `func`'s retuned array_like must not contain NaNs or
computation might fail. Closes #3491