mirror of
https://github.com/kalmarek/GroupRings.jl.git
synced 2025-01-01 03:40:29 +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})
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user