diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/arch/avx2.h | 2 | ||||
| -rw-r--r-- | src/nissy.h | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/arch/avx2.h b/src/arch/avx2.h index ad4ee0d..b1f8a59 100644 --- a/src/arch/avx2.h +++ b/src/arch/avx2.h | |||
| @@ -134,7 +134,7 @@ inverse(cube_t c) | |||
| 134 | vp = _mm256_andnot_si256(ORIENT_AVX2, vi); | 134 | vp = _mm256_andnot_si256(ORIENT_AVX2, vi); |
| 135 | ret = _mm256_or_si256(vp, vo); | 135 | ret = _mm256_or_si256(vp, vo); |
| 136 | ret = _mm256_and_si256(ret, USED_AVX2); | 136 | ret = _mm256_and_si256(ret, USED_AVX2); |
| 137 | 137 | ||
| 138 | return invertco(ret); | 138 | return invertco(ret); |
| 139 | } | 139 | } |
| 140 | 140 | ||
diff --git a/src/nissy.h b/src/nissy.h index 963571f..4b2d1eb 100644 --- a/src/nissy.h +++ b/src/nissy.h | |||
| @@ -2,14 +2,14 @@ | |||
| 2 | This is libnissy (temporarily also known as h48), a Rubik's cube library. | 2 | This is libnissy (temporarily also known as h48), a Rubik's cube library. |
| 3 | 3 | ||
| 4 | All the functions return 0 or a positive integer in case of success and | 4 | All the functions return 0 or a positive integer in case of success and |
| 5 | a negative integer in case of error, unless otherwise specified. See at | 5 | a negative integer in case of error, unless otherwise specified. See |
| 6 | the bottom of this file for the list of error codes and their meaning. | 6 | below for the list of error codes and their meaning. |
| 7 | 7 | ||
| 8 | TODO: explain cube format | 8 | Cubes are passed as strings in the cccccccc=eeeeeeeeeeee=r format, |
| 9 | see the README.md file for more information. | ||
| 9 | 10 | ||
| 10 | Accepted moves are U, D, R, L, F and B, optionally followed by a 2, | 11 | Accepted moves are U, D, R, L, F and B, optionally followed by a 2, |
| 11 | a ' or a 3. | 12 | a ' or a 3. |
| 12 | TODO update when we accept also wide moves, slices and rotations | ||
| 13 | 13 | ||
| 14 | A transformation must be given in the format | 14 | A transformation must be given in the format |
| 15 | (rotation|mirrored) (2 letters) | 15 | (rotation|mirrored) (2 letters) |
