From 7ff76870242b6906b6f3caf22da3c094822ed140 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Fri, 1 Aug 2025 23:32:19 +0200 Subject: Move is_eo_even to more appropriate module --- src/solvers/coord/eo.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/solvers') diff --git a/src/solvers/coord/eo.h b/src/solvers/coord/eo.h index 2d45a4f..5c823a1 100644 --- a/src/solvers/coord/eo.h +++ b/src/solvers/coord/eo.h @@ -2,7 +2,6 @@ STATIC uint64_t coordinate_eo_coord(cube_t, const unsigned char *); STATIC cube_t coordinate_eo_cube(uint64_t, const unsigned char *); STATIC bool coordinate_eo_isnasty(uint64_t, const unsigned char *); STATIC size_t coordinate_eo_gendata(unsigned char *); -STATIC bool is_eo_even(cube_t); STATIC coord_t coordinate_eo = { .name = "EO", @@ -57,16 +56,3 @@ coordinate_eo_gendata(unsigned char *data) { return 0; } - -STATIC bool -is_eo_even(cube_t cube) -{ - uint8_t c[8], e[12], i, count; - - pieces(&cube, c, e); - - for (i = 0, count = 0; i < 12; i++) - count += (e[i] & EOBIT) >> EOSHIFT; - - return count % 2 == 0; -} -- cgit v1.3