Hello, I found out that if the subs() method does a substitution on a lst the tinfo flag is not set properly. This then gives all kinds of weirdness in the canonical ordering. The solution is to set the tinfo correctly on two of the constructors in container.h . Also, it seems that if one of the expressions in a container is changed by a subs(), still subs_one_level() is called on that container. I think this is wrong. A patch is attached. Bye, Chris Dams
Hi! On Mon, Jul 14, 2003 at 01:24:38PM +0000, Chris Dams wrote:
I found out that if the subs() method does a substitution on a lst the tinfo flag is not set properly. This then gives all kinds of weirdness in the canonical ordering. The solution is to set the tinfo correctly on two of the constructors in container.h .
Yup.
Also, it seems that if one of the expressions in a container is changed by a subs(), still subs_one_level() is called on that container. I think this is wrong.
No, it isn't. We want subs(sin(sin(x)),sin($1)==cos($1)) to yield cos(cos(x)). Bye, Christian -- / Physics is an algorithm \/ http://www.uni-mainz.de/~bauec002/
participants (2)
-
Chris Dams
-
Christian Bauer