In ordered.jl the threshold matrix is converted into indices by mat = numerator.(alg.mat). If the denominator is not prime, however, the input threshold matrix will have some of its fractions simplified.
The simplest example I can find is IM_h4x4a(). The threshold matrix is
In ordered.jl the threshold matrix is converted into indices by
mat = numerator.(alg.mat)
. If the denominator is not prime, however, the input threshold matrix will have some of its fractions simplified.The simplest example I can find is
IM_h4x4a()
. The threshold matrix isbut the result of
numerator.(H4X4A)
isA simple fix would be
mat = numerator.(maximum(denominator.(alg.mat))*alg.mat)
, but there might be something more elegant.