I have a program which I think was working in Julia 1.12, but when I upgraded to 1.13 it fails to compile. The offending lines are these:
"""
ptable::OffsetArray(::Vector{UInt16}, 0:1023)
Given the ten-bit code for a permutation, look up the 15-bit permoct code if it's
canonical, and another ten-bit code for the same permutation, with the high bit
set, if it isn't. Repeated lookup of codes with the high bit set will eventually
find the canonical code.
"""
const (ptable,invPerm)=makeperms()
ptable and invPerm are both OffsetVectors with indices from 0 to 1023. How can I rewrite it so that it compiles?