aboutsummaryrefslogtreecommitdiff
path: root/test/101_cocsep_selfsim
diff options
context:
space:
mode:
Diffstat (limited to 'test/101_cocsep_selfsim')
-rw-r--r--test/101_cocsep_selfsim/cocsep_selfsim_tests.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/101_cocsep_selfsim/cocsep_selfsim_tests.c b/test/101_cocsep_selfsim/cocsep_selfsim_tests.c
index 3fc7a60..02b5377 100644
--- a/test/101_cocsep_selfsim/cocsep_selfsim_tests.c
+++ b/test/101_cocsep_selfsim/cocsep_selfsim_tests.c
@@ -7,7 +7,7 @@
7 */ 7 */
8#include "../test.h" 8#include "../test.h"
9 9
10#define COCSEP_CLASSES 3393U 10#define COCSEP_CLASSES 3393
11 11
12size_t gendata_cocsep(void *, uint64_t *, cube_fast_t *); 12size_t gendata_cocsep(void *, uint64_t *, cube_fast_t *);
13int64_t coord_fast_cocsep(cube_fast_t); 13int64_t coord_fast_cocsep(cube_fast_t);
@@ -27,10 +27,10 @@ int main(void) {
27 fast = cubetofast(readcube("H48", str)); 27 fast = cubetofast(readcube("H48", str));
28 coord = coord_fast_cocsep(fast); 28 coord = coord_fast_cocsep(fast);
29 data = buf[coord]; 29 data = buf[coord];
30 coclass = (data & (0xFFFU << 16U)) >> 16U; 30 coclass = (data & (0xFFFU << 16)) >> 16;
31 sim = selfsim[coclass]; 31 sim = selfsim[coclass];
32 for (t = 0; t < 48 && sim; t++, sim >>= 1ULL) { 32 for (t = 0; t < 48 && sim; t++, sim >>= 1) {
33 if (sim & 1ULL) 33 if (sim & 1)
34 printf("%" PRId64 " ", t); 34 printf("%" PRId64 " ", t);
35 } 35 }
36 printf("\n"); 36 printf("\n");

Generated with cgit - Back to sebastiano.tronto.net