jjhelmus / leastsqbound-scipy

Constrained multivariate least-squares optimizer for scipy
Other
21 stars 8 forks source link

Fixed a bug in the module that breaks scipy.optimize.leastsq #4

Closed ashwiniyengar closed 11 years ago

ashwiniyengar commented 11 years ago

Not sure why this is happening, but perhaps scipy.optimize.minpack has been updated since this module was updated? Sorry about the multiple commits.

jjhelmus commented 11 years ago

Thanks for pointing this out.

I think this problem come down to changes in scipy.optimize.minpack._check_func between version. Since this is a private function it would probably be good the include a direct copy of it from SciPy as opposed to importing it. @ashwiniyengar if you want to code this up feel free to, I should have some time to do it next week.

ashwiniyengar commented 11 years ago

Done.

jjhelmus commented 11 years ago

I merged with along with a few fixed I made into master.

Thanks @ashwiniyengar for all the work!