mirror of
https://github.com/kalmarek/PropertyT.jl.git
synced 2024-11-26 09:00:28 +01:00
PG.degree is not guaranteed to be constant
This commit is contained in:
parent
3b9c75604c
commit
526def226e
@ -5,7 +5,6 @@ function _conj(
|
|||||||
σ::PG.AbstractPermutation,
|
σ::PG.AbstractPermutation,
|
||||||
) where {N,T}
|
) where {N,T}
|
||||||
@assert iseven(N)
|
@assert iseven(N)
|
||||||
@assert PG.degree(σ) ≤ N ÷ 2 "Got degree = $(PG.degree(σ)); N = $N"
|
|
||||||
n = N ÷ 2
|
n = N ÷ 2
|
||||||
@assert 1 ≤ s.i ≤ N
|
@assert 1 ≤ s.i ≤ N
|
||||||
@assert 1 ≤ s.j ≤ N
|
@assert 1 ≤ s.j ≤ N
|
||||||
|
Loading…
Reference in New Issue
Block a user