← Back to team overview

dolfin team mailing list archive

la/eigensolver/python demo

 

Hi,

When I try to run the demo in /demo/la/eigensolver/python, I get the following error:

Initializing PETSc (ignoring command-line arguments).
Traceback (most recent call last):
  File "demo.py", line 18, in <module>
    A.set(A_array, position, position)
File "/usr/local/lib/python2.5/site-packages/dolfin/dolfin.py", line 1823, in set
    return _dolfin.PETScMatrix_set(*args)
TypeError: Numpy array of 32 bit unsigned integers (uint32) expected. Make sure that the numpy array use dtype='I'.

Could this also be related to the clean up from this weekend?

ilmar


Follow ups