git://www.ginac.de
/
ginac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85ce966
)
* Remove bogus counter in sqrfree_yun().
author
Richard Kreckel
<Richard.Kreckel@uni-mainz.de>
Fri, 13 Apr 2001 18:26:46 +0000
(18:26 +0000)
committer
Richard Kreckel
<Richard.Kreckel@uni-mainz.de>
Fri, 13 Apr 2001 18:26:46 +0000
(18:26 +0000)
ginac/normal.cpp
patch
|
blob
|
history
diff --git
a/ginac/normal.cpp
b/ginac/normal.cpp
index 334bf95ae78647b496a193cd5d47b2f60269b090..9c9082acc3c87251a4d66edb05245509d66382c3 100644
(file)
--- 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;
}