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:
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
Block a user