proteus icon indicating copy to clipboard operation
proteus copied to clipboard

superluWrapper DataType

Open alistairbntl opened this issue 8 years ago • 0 comments

The numpy array column and row index need to create a superluWrapper have to have dtype='int32'.

This is not the default type for a numpy array, and inputing an incorrect dtype will not cause the constructor to fail but simply generate the wrong matrix. I've been stung by this several times now so I'm sure it can be handled better. At a minimum there should be an exception kills the program warning the user.

alistairbntl avatar Jun 17 '16 20:06 alistairbntl