mirror of
https://github.com/kalmarek/GroupRings.jl.git
synced 2024-12-29 11:00:28 +01:00
fix: zero result coeffs before jumping into loopy mul!
This commit is contained in:
parent
8463b928cb
commit
dd518574ff
@ -327,6 +327,7 @@ function mul!{T}(X::AbstractVector{T}, Y::AbstractVector{T},
|
||||
end
|
||||
|
||||
function mul!(result::GroupRingElem, X::GroupRingElem, Y::GroupRingElem)
|
||||
result.coeffs *= 0
|
||||
mul!(X.coeffs, Y.coeffs, parent(X).pm, result.coeffs)
|
||||
return result
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user