[SciPy-user] array resize() method error in scipy_core

Chris Fonnesbeck fonnesbeck at gmail.com
Fri Dec 9 22:47:32 CST 2005


Not sure why I get this error:

    502             # Container list for intervals
    503             means = array([0.0])
--> 504             means.resize(dims[:-1][0])
        means.resize = <built-in method resize of scipy.ndarray object
at 0x385ad70>
        dims = (2, 4000)
    505
    506             for index in make_indices(dims[:-1]):

ValueError: cannot resize an array that has been referenced or is referencing
another array in this way.  Use the resize function

I'm using a recent svn of scipy_core. The odd thing is, I only get
this error when profiling.

--
Chris Fonnesbeck
Atlanta, GA



More information about the SciPy-user mailing list