]> www.ginac.de Git - ginac.git/commitdiff
Fix previous commit 'Speed up special cases of square-free...'.
authorRichard Kreckel <kreckel@ginac.de>
Thu, 25 Jan 2018 18:59:00 +0000 (19:59 +0100)
committerRichard Kreckel <kreckel@ginac.de>
Thu, 25 Jan 2018 18:59:00 +0000 (19:59 +0100)
Huh, I swear 4ffb3cbb3 worked for me! Sorry for that.

ginac/normal.cpp

index 9f8b7b4a406fdb5fe5ee39454e86eb6340f0d86a..747783c69d39cac29d4bcd5c4bd39f75c4a99afd 100644 (file)
@@ -1802,7 +1802,7 @@ static epvector sqrfree_yun(const ex &a, const symbol &x)
        do {
                w = quo(w, g, x);
                if (w.is_zero()) {
        do {
                w = quo(w, g, x);
                if (w.is_zero()) {
-                       return res;
+                       return results;
                }
                z = quo(z, g, x) - w.diff(x);
                exponent = exponent + 1;
                }
                z = quo(z, g, x) - w.diff(x);
                exponent = exponent + 1;