fix not defined S -> Y

This commit is contained in:
kalmar 2017-05-17 11:36:21 +02:00
parent 7cdaeea6e9
commit 085c47ddd3
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ end
function (==)(X::GroupRingElem, Y::GroupRingElem)
parent(X) == parent(Y) || return false
if eltype(X.coeffs) != eltype(S.coeffs)
if eltype(X.coeffs) != eltype(Y.coeffs)
warn("Comparing elements with different coeffs Rings!")
end
X.coeffs == Y.coeffs || return false