Problem with Expression since 2017.2

The way to use cpp expressions has changed since 2017.2.0.
See for instance: https://bitbucket.org/fenics-project/dolfin/src/master/python/demo/documented/tensor-weighted-poisson/demo_tensor-weighted-poisson.py for an example on how to use cpp_code in expressions.

1 Like