← Back to team overview

dolfin team mailing list archive

Re: [Question #149919]: PETScKrylovMatrix multiplication in Python

 

Question #149919 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/149919

    Status: Answered => Open

Christian Clason is still having a problem:
Thanks for your quick reply. I'm afraid this doesn't work:

   du.vector()[:] = args[0][:]
TypeError: 'SwigPyObject' object is not subscriptable

Unfortunately, I know next to nothing about swig.

Thanks,

Christian

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.



Follow ups