In the docstring of the Expression class (dolfin/functions/expression.py) the example in part 2 (2. Complex user-defined JIT-compiled Expressions) is not working because the syntax is not used anymore. The header
void eval(Array<double>& values, const Data& data) const
should be changed to
void eval(Array<double>& values, Array<double>& x) const
and every occurrence of "data.x" to "x".
In the docstring of the Expression class (dolfin/ functions/ expression. py) the example in part 2 (2. Complex user-defined JIT-compiled Expressions) is not working because the syntax is not used anymore. The header
void eval(Array<double>& values, const Data& data) const
should be changed to
void eval(Array<double>& values, Array<double>& x) const
and every occurrence of "data.x" to "x".