aboutsummaryrefslogtreecommitdiff
path: root/test/112_cocsep_selfsim
diff options
context:
space:
mode:
Diffstat (limited to 'test/112_cocsep_selfsim')
-rw-r--r--test/112_cocsep_selfsim/cocsep_selfsim_tests.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/112_cocsep_selfsim/cocsep_selfsim_tests.c b/test/112_cocsep_selfsim/cocsep_selfsim_tests.c
index 1a1c6f2..2abe476 100644
--- a/test/112_cocsep_selfsim/cocsep_selfsim_tests.c
+++ b/test/112_cocsep_selfsim/cocsep_selfsim_tests.c
@@ -8,13 +8,13 @@
8#include "../test.h" 8#include "../test.h"
9 9
10size_t gendata_cocsep(unsigned char *, uint64_t *, cube_t *); 10size_t gendata_cocsep(unsigned char *, uint64_t *, cube_t *);
11int64_t coord_cocsep(cube_t); 11uint64_t coord_cocsep(cube_t);
12 12
13void run(void) { 13void run(void) {
14 char str[STRLENMAX]; 14 char str[STRLENMAX];
15 unsigned char buf[2000000]; 15 unsigned char buf[2000000];
16 uint32_t *cocsepdata, data; 16 uint32_t *cocsepdata, data;
17 int64_t coord, coclass; 17 uint64_t coord, coclass;
18 uint64_t selfsim[COCSEP_CLASSES], sim, t; 18 uint64_t selfsim[COCSEP_CLASSES], sim, t;
19 oriented_cube_t cube; 19 oriented_cube_t cube;
20 cube_t rep[COCSEP_CLASSES]; 20 cube_t rep[COCSEP_CLASSES];
@@ -32,7 +32,7 @@ void run(void) {
32 sim = selfsim[coclass]; 32 sim = selfsim[coclass];
33 for (t = 0; t < 48 && sim; t++, sim >>= 1) { 33 for (t = 0; t < 48 && sim; t++, sim >>= 1) {
34 if (sim & 1) 34 if (sim & 1)
35 printf("%" PRId64 " ", t); 35 printf("%" PRIu64 " ", t);
36 } 36 }
37 printf("\n"); 37 printf("\n");
38 } 38 }

Generated with cgit - Back to sebastiano.tronto.net