Isuru Fernando

Results 928 comments of Isuru Fernando

Thanks. I'll try that

Tests pass except those failing because of #361.

Any updates on this?

What you can do right now is recursively call `get_args` on the expression and use `get_name` if the expression is a FunctionSymbol to create a dictionary for `subs`. I agree...

You can use `get_symengine_class(x) == :FunctionSymbol`

> Seems that these global variables defined in constants.cpp somehow fail to carry the proper pointer values with them. Issue is that the order of global variable initialization is undefined...

It's coming from the `neg` method which uses a constant `minus_one`. https://github.com/symengine/symengine/blob/master/symengine/mul.cpp#L439 which is initialized at https://github.com/symengine/symengine/blob/master/symengine/constants.cpp#L40 Problem is that `A::s` is initialized before `minus_one` is.

What's more strange is that only the last command in test script gives a segfault. When there are two tests (In tree testing and out of tree testing) the first...