1
0
mirror of https://github.com/kalmarek/GroupRings.jl.git synced 2024-11-13 05:00:27 +01:00

remove isequal

This commit is contained in:
kalmar 2017-05-16 18:30:43 +02:00
parent 89c5971cdd
commit 02eff23d17

View File

@ -37,13 +37,6 @@ show{T}(io::IO, X::GroupAlgebraElement{T}) = print(io,
"Element of Group Algebra over $T of length $(length(X)):\n $(X.coefficients)")
function isequal{T, S}(X::GroupAlgebraElement{T}, Y::GroupAlgebraElement{S})
if T != S
warn("Comparing elements with different coefficients Rings!")
end
X.product_matrix == Y.product_matrix || return false
X.coefficients == Y.coefficients || return false
return true
end
(==)(X::GroupAlgebraElement, Y::GroupAlgebraElement) = isequal(X,Y)