Thanks, that was it.
DG
On Tue, Jul 27, 2010 at 3:02 PM, Robert Kern wrote:
> On Tue, Jul 27, 2010 at 16:59, David Goldsmith
> wrote:
> > res = np.fromfunction(make_res, (nx, ny))
> >File "C:\Python26\lib\site-packages\numpy\core\numeric.py", line 1538,
> in
> > fromfunction
> > args = ind
On Tue, Jul 27, 2010 at 16:59, David Goldsmith wrote:
> res = np.fromfunction(make_res, (nx, ny))
> File "C:\Python26\lib\site-packages\numpy\core\numeric.py", line 1538, in
> fromfunction
> args = indices(shape, dtype=dtype)
> File "C:\Python26\lib\site-packages\numpy\core\numeric.py", line
res = np.fromfunction(make_res, (nx, ny))
File "C:\Python26\lib\site-packages\numpy\core\numeric.py", line 1538, in
fromfunction
args = indices(shape, dtype=dtype)
File "C:\Python26\lib\site-packages\numpy\core\numeric.py", line 1480, in
indices
tmp.shape = (1,)*i + (dim,)+(1,)*(N-i-1)
ValueE