[GiNaC-devel] printing of class power
Stefan Weinzierl
weinzierl at uni-mainz.de
Fri Jan 3 15:41:30 CET 2025
Dear all,
happy new year to everybody and my apologies for coming up with a
potential bug report shortly after a new release.
The code snippet
symbol x("x");
ex f = 2*x;
ex g = pow(x,5);
f.print(GiNaC::print_context(std::cout));
std::cout << std::endl;
g.print(GiNaC::print_context(std::cout));
std::cout << std::endl;
will print
2*x
[power object]
Is that really intentional? The behaviour is the same in GiNaC 1.8.7 and
1.8.8.
Best wishes,
Stefan
More information about the GiNaC-devel
mailing list