diff options
Diffstat (limited to 'src/utils/constants.h')
| -rw-r--r-- | src/utils/constants.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/constants.h b/src/utils/constants.h index 97bf436..ef8c7e0 100644 --- a/src/utils/constants.h +++ b/src/utils/constants.h | |||
| @@ -105,7 +105,7 @@ STATIC int64_t binomial[12][12] = { | |||
| 105 | #define MM_SIDE(m) (UINT32_C(7) << (uint32_t)(m)) | 105 | #define MM_SIDE(m) (UINT32_C(7) << (uint32_t)(m)) |
| 106 | 106 | ||
| 107 | #define TM_ALLTRANS UINT64_C(0xFFFFFFFFFFFF) | 107 | #define TM_ALLTRANS UINT64_C(0xFFFFFFFFFFFF) |
| 108 | #define TM_SINGLE_UFr UINT64_C(1) | 108 | #define TM_SINGLE(t) (UINT64_C(1) << (uint64_t)(t)) |
| 109 | 109 | ||
| 110 | #define CORNER_UFR UINT8_C(0) | 110 | #define CORNER_UFR UINT8_C(0) |
| 111 | #define CORNER_UBL UINT8_C(1) | 111 | #define CORNER_UBL UINT8_C(1) |
| @@ -142,7 +142,7 @@ STATIC int64_t binomial[12][12] = { | |||
| 142 | #define CTWIST_CW UINT8_C(0x20) | 142 | #define CTWIST_CW UINT8_C(0x20) |
| 143 | #define CTWIST_CCW UINT8_C(0x40) | 143 | #define CTWIST_CCW UINT8_C(0x40) |
| 144 | #define EFLIP UINT8_C(0x10) | 144 | #define EFLIP UINT8_C(0x10) |
| 145 | #define UINT8_ERROR UINT8_C(0xFF) | 145 | #define UINT8_ERROR UINT8_MAX |
| 146 | 146 | ||
| 147 | STATIC const char *cornerstr[] = { | 147 | STATIC const char *cornerstr[] = { |
| 148 | [CORNER_UFR] = "UFR", | 148 | [CORNER_UFR] = "UFR", |
