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

_______________________________________________
DOLFIN-dev mailing list
DOLFIN-dev@fenics.org
http://www.fenics.org/mailman/listinfo/dolfin-dev

Reply via email to