From ea0387796a349c91032fbcb10f50c6ad8607b0f6 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Tue, 29 Jul 2025 12:12:43 +0200 Subject: All coordinates unsigned --- src/solvers/coord/dr.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/solvers/coord/dr.h') 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 *); STATIC bool is_eoco_solvable(cube_t); -/* TODO: remove the following two when all coordinates are converted to unsigned */ -STATIC uint64_t coord_co_u(cube_t c) { return (uint64_t)coord_co(c); } -STATIC cube_t invcoord_co_u(uint64_t i) { return invcoord_co((int64_t)i); } - STATIC coord_t coordinate_dr = { .name = "DR", .coord = &coordinate_dr_coord, @@ -54,8 +50,8 @@ STATIC coord_t coordinate_dr = { .coord = &coord_dreoesep_nosym, .cube = &invcoord_dreoesep_nosym, .max2 = POW_3_7, - .coord2 = &coord_co_u, - .cube2 = &invcoord_co_u, + .coord2 = &coord_co, + .cube2 = &invcoord_co, .merge = &coordinate_dr_merge, }, }; -- cgit v1.3