Small bug fixed

This commit is contained in:
ysyapa 2023-08-16 22:06:19 +00:00
parent 54bd6c20f4
commit 56a8808938
1 changed files with 24 additions and 16 deletions

View File

@ -2,7 +2,10 @@ using DelimitedFiles
rotations = readdlm("rotations.mat", ',', Int, '\n')
rotations = reshape(rotations, (24, 3, 3))
N = 24
function get_A1_labels(N::Int)
rotations = readdlm("rotations.csv", ',', Int, '\n')
rotations = reshape(rotations, (24, 3, 3))
ks = -N÷2:N÷2-1
lattice = hcat((collect.(Iterators.product(ks, ks, ks)))...)
labels = reshape(collect(1:N^3), (N, N, N))
@ -22,4 +25,9 @@ for r in 1:24
end
end
unique(labels)
return labels
end
function sym_reduce(N::Int, K_full)
end