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 9f8b7b4..747783c 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()) {
-                       return res;
+                       return results;
                }
                z = quo(z, g, x) - w.diff(x);
                exponent = exponent + 1;