From 5e291466fbbc45aed74f67a1b2e555d1f0c44d8f Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Thu, 10 Oct 2024 19:49:48 +0200 Subject: Improved error messages and add some comments in nissy.h --- src/core/cube.h | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'src/core/cube.h') diff --git a/src/core/cube.h b/src/core/cube.h index 2252a85..a3c3e14 100644 --- a/src/core/cube.h +++ b/src/core/cube.h @@ -66,16 +66,10 @@ isconsistent(cube_t cube) return true; inconsistent_ep: - LOG("Inconsistent EP\n"); - return false; inconsistent_cp: - LOG("Inconsistent CP\n"); - return false; inconsistent_eo: - LOG("Inconsistent EO\n"); - return false; inconsistent_co: - LOG("Inconsistent CO\n"); + /* We used to do more logging here, hence the 4 different labels */ return false; } @@ -115,13 +109,9 @@ issolvable(cube_t cube) return true; issolvable_parity: - LOG("EP and CP parities are different\n"); - return false; issolvable_eo: - LOG("Odd number of flipped edges\n"); - return false; issolvable_co: - LOG("Sum of corner orientation is not multiple of 3\n"); + /* We used to do more logging here, hence the 3 different labels */ return false; } -- cgit v1.3