1
0
mirror of https://github.com/kalmarek/GroupRings.jl.git synced 2024-07-30 06:05:31 +02:00

fix not defined S -> Y

This commit is contained in:
kalmar 2017-05-17 11:36:21 +02:00
parent 7cdaeea6e9
commit 085c47ddd3

View File

@ -155,7 +155,7 @@ end
function (==)(X::GroupRingElem, Y::GroupRingElem) function (==)(X::GroupRingElem, Y::GroupRingElem)
parent(X) == parent(Y) || return false 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!") warn("Comparing elements with different coeffs Rings!")
end end
X.coeffs == Y.coeffs || return false X.coeffs == Y.coeffs || return false