From 1809d7b212128fcdcb481002a17db5dc97a15e03 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Fri, 17 May 2024 17:42:43 +0200 Subject: Added inverse eo and copy_{edges,corners} --- src/solve_h48.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/solve_h48.h') diff --git a/src/solve_h48.h b/src/solve_h48.h index e3e6de1..2fe1d69 100644 --- a/src/solve_h48.h +++ b/src/solve_h48.h @@ -88,16 +88,17 @@ invcoord_h48( cube_fast_t ret; int64_t coclass, ee, esep, eo; + DBG_ASSERT(h <= 11, cubetofast(zero), + "invcoord_h48: h must be between 0 and 11\n"); + coclass = i / H48_ESIZE; ee = i % H48_ESIZE; esep = ee >> h; eo = (ee & ((1<