[Numpy-discussion] lapack_lite dgesv

R. David david at icps.u-strasbg.fr
Mon Dec 11 08:32:44 EST 2006


Hello Tim,
> 
> The problem is probably your definition of ipiv. "(DIM)" is just a 
> parenthesized scalar, what you probably want is "(DIM,)", which is a 
> one-tuple. Personally, I'd recommend using list notation ("[nbrows, 
> nbcols]", "[DIM]") rather than tuple notation since it's both easier to 
> read and and avoids this type of mistake.

I tried both notations and none work.

In the meantime, I tried extending the ipiv arrays to a 2 dimensionnal
ones (if I had more than on right member for instante), but I still
get the error message.

	Romaric



More information about the NumPy-Discussion mailing list