[GiNaC-devel] expairseq::conjugate

Burcin Erocal burcin at erocal.org
Sun May 8 21:42:15 CEST 2011


Hi,

the following problem (in Sage syntax) was reported to the Sage issue
tracker [1]:

ginsh - GiNaC Interactive Shell (ginac V1.5.8)
<snip>
> conjugate(I*sqrt(-3));
-I*sqrt(-3)


[1] http://trac.sagemath.org/sage_trac/ticket/10964

The problem seems to be the expair::conjugate() method which is called
from the conjugateepvector() function in expairseq.cpp. This function
is called from the pseries class as well. So, moving the latter in the
expairseq class to use the virtual functions recombine_pair_to_ex()
etc. does not work.

Any ideas for a clean solution to this?

Thank you.

Burcin


More information about the GiNaC-devel mailing list