diff options
Diffstat (limited to 'src/cube_generic.h')
| -rw-r--r-- | src/cube_generic.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/cube_generic.h b/src/cube_generic.h index d3080f7..7095c3a 100644 --- a/src/cube_generic.h +++ b/src/cube_generic.h | |||
| @@ -65,16 +65,16 @@ isconsistent(cube_t cube) | |||
| 65 | return true; | 65 | return true; |
| 66 | 66 | ||
| 67 | inconsistent_ep: | 67 | inconsistent_ep: |
| 68 | _log("Inconsistent EP\n"); | 68 | LOG("Inconsistent EP\n"); |
| 69 | return false; | 69 | return false; |
| 70 | inconsistent_cp: | 70 | inconsistent_cp: |
| 71 | _log("Inconsistent CP\n"); | 71 | LOG("Inconsistent CP\n"); |
| 72 | return false; | 72 | return false; |
| 73 | inconsistent_eo: | 73 | inconsistent_eo: |
| 74 | _log("Inconsistent EO\n"); | 74 | LOG("Inconsistent EO\n"); |
| 75 | return false; | 75 | return false; |
| 76 | inconsistent_co: | 76 | inconsistent_co: |
| 77 | _log("Inconsistent CO\n"); | 77 | LOG("Inconsistent CO\n"); |
| 78 | return false; | 78 | return false; |
| 79 | } | 79 | } |
| 80 | 80 | ||
| @@ -114,13 +114,13 @@ issolvable(cube_t cube) | |||
| 114 | return true; | 114 | return true; |
| 115 | 115 | ||
| 116 | issolvable_parity: | 116 | issolvable_parity: |
| 117 | _log("EP and CP parities are different\n"); | 117 | LOG("EP and CP parities are different\n"); |
| 118 | return false; | 118 | return false; |
| 119 | issolvable_eo: | 119 | issolvable_eo: |
| 120 | _log("Odd number of flipped edges\n"); | 120 | LOG("Odd number of flipped edges\n"); |
| 121 | return false; | 121 | return false; |
| 122 | issolvable_co: | 122 | issolvable_co: |
| 123 | _log("Sum of corner orientation is not multiple of 3\n"); | 123 | LOG("Sum of corner orientation is not multiple of 3\n"); |
| 124 | return false; | 124 | return false; |
| 125 | } | 125 | } |
| 126 | 126 | ||
| @@ -161,7 +161,7 @@ applymoves_finish: | |||
| 161 | return cube; | 161 | return cube; |
| 162 | 162 | ||
| 163 | applymoves_error: | 163 | applymoves_error: |
| 164 | _log("applymoves error\n"); | 164 | LOG("applymoves error\n"); |
| 165 | return zero; | 165 | return zero; |
| 166 | } | 166 | } |
| 167 | 167 | ||
| @@ -238,7 +238,7 @@ move(cube_t c, uint8_t m) | |||
| 238 | case _move_B3: | 238 | case _move_B3: |
| 239 | return _move(B3, c); | 239 | return _move(B3, c); |
| 240 | default: | 240 | default: |
| 241 | _log("move error, unknown move\n"); | 241 | LOG("move error, unknown move\n"); |
| 242 | return zero; | 242 | return zero; |
| 243 | } | 243 | } |
| 244 | } | 244 | } |
