]> www.ginac.de Git - ginac.git/commitdiff
"(x+1).subs(x==x-1)" now returns the correct result "x" instead of "x-1"
authorChristian Bauer <Christian.Bauer@uni-mainz.de>
Thu, 28 Feb 2002 17:53:47 +0000 (17:53 +0000)
committerChristian Bauer <Christian.Bauer@uni-mainz.de>
Thu, 28 Feb 2002 17:53:47 +0000 (17:53 +0000)
ginac/expairseq.cpp

index c18fadecc9934f5ad55de6d5bc59ca91549aba17..36261a985c4e5810f3ec7f80fd6a1846f1d940ef 100644 (file)
@@ -402,7 +402,7 @@ ex expairseq::subs(const lst &ls, const lst &lr, bool no_pattern) const
 {
        epvector *vp = subschildren(ls, lr, no_pattern);
        if (vp)
-               return ex_to<basic>(thisexpairseq(vp, overall_coeff)).basic::subs(ls, lr, no_pattern);
+               return ex_to<basic>(thisexpairseq(vp, overall_coeff));
        else
                return basic::subs(ls, lr, no_pattern);
 }