From d19df5c2498b59e53200bcb92f1d91ff0b77fd12 Mon Sep 17 00:00:00 2001 From: Richard Kreckel Date: Fri, 13 Apr 2001 18:26:46 +0000 Subject: [PATCH] * Remove bogus counter in sqrfree_yun(). --- ginac/normal.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/ginac/normal.cpp b/ginac/normal.cpp index 334bf95a..9c9082ac 100644 --- a/ginac/normal.cpp +++ b/ginac/normal.cpp @@ -1700,7 +1700,6 @@ ex lcm(const ex &a, const ex &b, bool check_args) * @return vector of factors sorted in ascending degree */ static exvector sqrfree_yun(const ex &a, const symbol &x) { - int i = 0; exvector res; ex w = a; ex z = w.diff(x); @@ -1716,7 +1715,6 @@ static exvector sqrfree_yun(const ex &a, const symbol &x) z = y - w.diff(x); g = gcd(w, z); res.push_back(g); - ++i; } while (!z.is_zero()); return res; } -- 2.44.0