Hi everyone,
I just noticed that the “old” way of creating a full cpp string and using it to instantiate an Expression no longer works. In fact, I tracked down the chain of methods in JIT and found that for every string you insert to the Expression constructor, it just appends it to value[0]. The consequence of this is that previous codes which used a cpp object as
cpp_code = “”"
class Foo: public Expression
{…};
f = Expression(cpp_code, degree = N)
now results in the following code:
value[0] =
class MyExpr: public Expression
{…};;
which obviously doesn’t compile. I am currently working on a quick workaround, but if there is another solution, I would appreciate the information infinitely.
Best regards,
Nico