No subject
Chris Dams
chrisd at sci.kun.nl
Mon Jun 7 13:40:52 CEST 2004
Dear GiNaCers,
Here is a patch for series expansion. The reason for the patch is the same
as for one I sent before.
However, I did not get any answer on my pervious mail. What do you think
when I say "Series expansion should never use expansion, unless there is
no other means available to avoid it."?
Best,
Chris
-------------- next part --------------
Index: pseries.cpp
===================================================================
RCS file: /home/cvs/GiNaC/ginac/pseries.cpp,v
retrieving revision 1.78
diff -r1.78 pseries.cpp
960c960
< if (!must_expand_basis && !basis.subs(r, subs_options::no_pattern).is_zero())
---
> if (!must_expand_basis && !basis.subs(r, subs_options::no_pattern).is_zero() && !is_a<add>(basis))
More information about the GiNaC-devel
mailing list