[SciPy-Dev] Fwd: For certain arrays scipy.interpolate.fitpack.bisplrep fails,

Paul Kuin npkuin at gmail.com
Fri May 13 19:08:24 EDT 2011


From: Paul Kuin <npkuin at gmail.com>
To: scipy-dev at scipy.org
Date: Tue, 10 May 2011 22:23:34 +0100
Subject: For certain arrays scipy.interpolate.fitpack.bisplrep fails,
For certain arrays scipy.interpolate.fitpack.bisplrep fails, since the
fortran code called expects
an integer for the dimension size of certain arrays:

line 760-761 of fitpack.py should be modified to
  if nxest is None: nxest=int(kx+sqrt(m/2))
  if nyest is None: nyest=int(ky+sqrt(m/2))
to make sure nxest, and nyest are integer.

Please make a patch.



More information about the SciPy-Dev mailing list