1
0
mirror of https://github.com/kalmarek/GroupRings.jl.git synced 2024-12-28 18:50:29 +01:00

changes to docs

This commit is contained in:
kalmarek 2019-01-08 03:17:56 +01:00
parent dfc3cfb31c
commit 5785663efa

View File

@ -424,9 +424,9 @@ function mul!(result::GroupRingElem, X::GroupRingElem, Y::GroupRingElem)
if isdefined(RG, :pm)
s = size(RG.pm)
k = findprev(!iszero, X.coeffs, lX)
(k == nothing ? 0 : k) <= s[1] || throw("Element in X outside of support of RG.pm")
(k == nothing ? 0 : k) <= s[1] || throw("Element in X outside of support of parents product")
k = findprev(!iszero, Y.coeffs, lY)
(k == nothing ? 0 : k) <= s[2] || throw("Element in Y outside of support of RG.pm")
(k == nothing ? 0 : k) <= s[2] || throw("Element in Y outside of support of parents product")
for j in 1:lY
if Y.coeffs[j] != z