Comment 3 for bug 768233

Revision history for this message
Garth Wells (garth-wells) wrote : Re: [Bug 768233] Re: PETScUserPreconditioner does not work with PETScKrylovMatrix

On 13 February 2012 19:58, Patrick Farrell <email address hidden> wrote:
> Hi. Any word on the above patch?
>

I applied the patch against lp:dolfin (the dev versions), but I can't
run the example code. I get

 Traceback (most recent call last):
  File "test.py", line 33, in <module>
    KrylovSolver.solve(KrylovMatrix(), x_petsc, down_cast(b))
  File "test.py", line 23, in solve
    for i in range(len(args[0])):
TypeError: object of type 'SwigPyObject' has no len()

Could you try getting the demo code to run against lp;dolfin?

Garth

> --
> You received this bug notification because you are a member of DOLFIN
> Core Team, which is subscribed to DOLFIN.
> https://bugs.launchpad.net/bugs/768233
>
> Title:
>  PETScUserPreconditioner does not work with PETScKrylovMatrix
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dolfin/+bug/768233/+subscriptions