summaryrefslogtreecommitdiff
path: root/algebra.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'algebra.cpp')
-rw-r--r--algebra.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/algebra.cpp b/algebra.cpp
index 222109a..6b20bf4 100644
--- a/algebra.cpp
+++ b/algebra.cpp
@@ -54,7 +54,7 @@ template <class T> const T& AbstractEuclideanDomain<T>::Gcd(const Element &a, co
Element g[3]={b, a};
unsigned int i0=0, i1=1, i2=2;
- while (!Equal(g[i1], Identity()))
+ while (!Equal(g[i1], this->Identity()))
{
g[i2] = Mod(g[i0], g[i1]);
unsigned int t = i0; i0 = i1; i1 = i2; i2 = t;