aboutsummaryrefslogtreecommitdiff
path: root/src/solvers/coord/dr.h
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2025-07-29 12:12:43 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2025-07-29 12:12:43 +0200
commitea0387796a349c91032fbcb10f50c6ad8607b0f6 (patch)
treeaed484690d24c0c28c7695d4b5389f2e3c341b96 /src/solvers/coord/dr.h
parent52c21640508c3fc668107778ae027ff4428ebd89 (diff)
downloadnissy-core-ea0387796a349c91032fbcb10f50c6ad8607b0f6.tar.gz
nissy-core-ea0387796a349c91032fbcb10f50c6ad8607b0f6.zip
All coordinates unsigned
Diffstat (limited to 'src/solvers/coord/dr.h')
-rw-r--r--src/solvers/coord/dr.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/solvers/coord/dr.h b/src/solvers/coord/dr.h
index d986742..7f7af4f 100644
--- a/src/solvers/coord/dr.h
+++ b/src/solvers/coord/dr.h
@@ -12,10 +12,6 @@ STATIC size_t coordinate_dr_gendata(unsigned char *);
12 12
13STATIC bool is_eoco_solvable(cube_t); 13STATIC bool is_eoco_solvable(cube_t);
14 14
15/* TODO: remove the following two when all coordinates are converted to unsigned */
16STATIC uint64_t coord_co_u(cube_t c) { return (uint64_t)coord_co(c); }
17STATIC cube_t invcoord_co_u(uint64_t i) { return invcoord_co((int64_t)i); }
18
19STATIC coord_t coordinate_dr = { 15STATIC coord_t coordinate_dr = {
20 .name = "DR", 16 .name = "DR",
21 .coord = &coordinate_dr_coord, 17 .coord = &coordinate_dr_coord,
@@ -54,8 +50,8 @@ STATIC coord_t coordinate_dr = {
54 .coord = &coord_dreoesep_nosym, 50 .coord = &coord_dreoesep_nosym,
55 .cube = &invcoord_dreoesep_nosym, 51 .cube = &invcoord_dreoesep_nosym,
56 .max2 = POW_3_7, 52 .max2 = POW_3_7,
57 .coord2 = &coord_co_u, 53 .coord2 = &coord_co,
58 .cube2 = &invcoord_co_u, 54 .cube2 = &invcoord_co,
59 .merge = &coordinate_dr_merge, 55 .merge = &coordinate_dr_merge,
60 }, 56 },
61}; 57};

Generated with cgit - Back to sebastiano.tronto.net