Charles R Harris <charlesr.harris <at> gmail.com> writes: > > > On Tue, Sep 16, 2008 at 9:05 AM, Lisa Delgado <LisaAnnDelgado <at> gmail.com> wrote: > Hi, > I had previously run a program successfully when using numpy 1.1.0. I just > downloaded the Enthought Python Distribution, which has numpy 1.0.4 and am now > having problems running my program. I get the following error. > Traceback (most recent call last): > File "/Users/Lisa/Documents/Dissertation work/PythonPrograms/NashEq.py", > line > 57, in <module> > EffortCosts[i,j] = buyeragents[i][j] > ValueError: setting an array element with a sequence. > > > What type is buyeragents? Numpy 1.1.0 fixes a number of bugs in 1.0.4 and you may have been bitten by that.Chuck > > > > > > > _______________________________________________ > Numpy-discussion mailing list > Numpy-discussion <at> scipy.org > http://projects.scipy.org/mailman/listinfo/numpy-discussion >
buyeragents is a list. I made no changes to the program from when it was working on numpy 1.1.0 to now with numpy 1.0.4. Thanks. Lisa PS - This is my own program for computing Nash equilibria. _______________________________________________ Numpy-discussion mailing list [email protected] http://projects.scipy.org/mailman/listinfo/numpy-discussion
