← Back to team overview

ffc team mailing list archive

Re: Limitation in NumPy?

 

On Fri, May 25, 2007 at 12:01:01PM +0200, Pearu Peterson wrote:
> Anders Logg wrote:
> >I have version 1.0.1 (1.0.1-8ubuntu1).
> >
> >Do you know why there is a limitation on n?
> 
> Yes, there are several places where array dimensions
> are allocated statically (for performance reasons)
> and there must be some limit defined. You can
> redefine this limit in numpy/core/include/numpy/ndarrayobject.h
> file, look for the definition of NPY_MAXDIMS (and NPY_MAXARGS),
> before rebuilding numpy.
> 
> Pearu

ok, great. Thanks for the info!

/Anders


References