[SciPy-user] mpfit again

Steve Schmerler elcorto at gmx.net
Sat Aug 28 07:52:22 CDT 2004


Hi

In addition line 1186 seems also to be incorrect:

    mrat = max(Numeric.take(nwa1, whmax) /
               Numeric.take(maxstep, whmax))

I changed it to

   mrat = max(abs(Numeric.take(nwa1, whmax)) /
              abs(Numeric.take(maxstep, whmax)))

The latter version also works for negative parameter changes (towards the
lower limit).

bye
steve

-- 
If you can't beat your computer at chess, try kickboxing.
--

NEU: Bis zu 10 GB Speicher für e-mails & Dateien!
1 GB bereits bei GMX FreeMail http://www.gmx.net/de/go/mail



More information about the SciPy-user mailing list