[SciPy-dev] nonlin patch