- changed status to resolved
Ambiguity for PETScMatrix class
Issue #530
resolved
PETScMatrix
derives from both GenericLinearOperator
and PETScBaseMatrix
, which causes problems in classes like PETScKrylovSolver
which have interface for both GenericLinearOperator
and PETScBaseMatrix
. The problem is that we can't pass a PETScMatrix
when there are members functions for both GenericLinearOperatorand
PETScBaseMatrix` because the compiler can't figure out which one to use.
A solution is to remove PETScBaseMatrix
, see https://www.mail-archive.com/fenics@fenicsproject.org/msg02614.html.
Comments (2)
-
reporter -
- removed milestone
Removing milestone: 1.6 (automated comment)
- Log in to comment
Fixed in c291318.