These are chat archives for symengine/symengine
x ** 0.0 x ** 1.0 x * 0.0
In : x**0.0 Out: 0.0 x In : x**1.0 Out: 1.0 x In : x*0.0 Out: 0
So for the power it just keeps it in the power. For multiplying, somehow it thinks it's 0, since
In : 0.0 == 0 Out: True
I think either is fine with me. What exactly is your question about the printing?
In : x**0.0 Out: 1.0 In : x**1.0 Out: 1.0 x In : x*0.0 Out: 0.0
What exactly is your question about the printing?
Which comment are you talking about?
basic.hincludes piranha as
piranha/piraha.hpp. This works fine if piranha is installed. In my case, I have not installed piranha, so I set the
piranha/src, which works with
piranha/piranha.hpp. Is there a common solution?
std::unique_ptr<T>you do not need the definition of
T, just its declaration. Then you can move the inclusion of Piranha headers into the
.cppand just include the declaration of