← Back to team overview

dolfin team mailing list archive

More problem with Expressions in Python

 

I have an Expression class with a member function that looks like this:

  void update(boost::shared_ptr<const dolfin::Function> u)
  {
   ...
  }

I used to be able to send in a Python Function as argument to this
from Python but not anymore. I get the following error message:

  argument 2 of type 'boost::shared_ptr< dolfin::Function const >'

This indicates that my Python Function is not recognized as something
that can be used as an argument for

  boost::shared_ptr< dolfin::Function const >

Any ideas what goes wrong?

--
Anders

Attachment: signature.asc
Description: Digital signature


Follow ups