1
0
mirror of https://github.com/kalmarek/GroupRings.jl.git synced 2024-12-29 11:00:28 +01: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})
parent(X) == parent(Y) || throw(ArgumentError(
"Elements don't seem to belong to the same Group Ring!"))
X.coeffs .+= Y.coeffs
return X
end