remove checks from addeq!
This commit is contained in:
parent
7390f4699e
commit
3166c588b1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue