1
0
mirror of https://github.com/kalmarek/GroupRings.jl.git synced 2024-08-02 14:48:27 +02:00

remove checks from addeq!

This commit is contained in:
kalmar 2017-07-19 22:17:06 +02:00
parent 7390f4699e
commit 3166c588b1

View File

@ -294,8 +294,6 @@ end
############################################################################### ###############################################################################
function addeq!{T}(X::GroupRingElem{T}, Y::GroupRingElem{T}) function addeq!{T}(X::GroupRingElem{T}, Y::GroupRingElem{T})
parent(X) == parent(Y) || throw(ArgumentError(
"Elements don't seem to belong to the same Group Ring!"))
X.coeffs .+= Y.coeffs X.coeffs .+= Y.coeffs
return X return X
end end