- changed status to resolved
Issue with complex scalar support for block vectors in version 3.7.0
Issue #21
resolved
When use PETSc is built with support for complex scalars, slepc4py fails to build with error:
error: cannot convert ‘PetscScalar {aka std::complex<double>}’ to ‘double’ for argument ‘1’ to ‘PyObject* PyFloat_FromDouble(double)’
This originates from line 498 of BV.pyx which reads: v.setArray([mval[i] for i in range(0, k - l)])
As a work around I am just commenting out this line as I am not using block vectors currently.
Cython==0.24 g++ 5.3.1
Comments (1)
-
- Log in to comment
Fixed in a93f720