From c5c5017a335208881e27fc8f72c1d0145a04622a Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Sun, 9 Jun 2024 12:43:49 +0200 Subject: Remvoed cube_fast_t and more. More cleaning up to do. --- test/101_cocsep_selfsim/cocsep_selfsim_tests.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test/101_cocsep_selfsim') diff --git a/test/101_cocsep_selfsim/cocsep_selfsim_tests.c b/test/101_cocsep_selfsim/cocsep_selfsim_tests.c index 02b5377..195f9ba 100644 --- a/test/101_cocsep_selfsim/cocsep_selfsim_tests.c +++ b/test/101_cocsep_selfsim/cocsep_selfsim_tests.c @@ -9,23 +9,23 @@ #define COCSEP_CLASSES 3393 -size_t gendata_cocsep(void *, uint64_t *, cube_fast_t *); -int64_t coord_fast_cocsep(cube_fast_t); +size_t gendata_cocsep(void *, uint64_t *, cube_t *); +int64_t coord_cocsep(cube_t); int main(void) { char str[STRLENMAX]; uint32_t buf[300000], data; int64_t coord, coclass; uint64_t selfsim[COCSEP_CLASSES], sim, t; - cube_fast_t fast, rep[COCSEP_CLASSES]; + cube_t cube, rep[COCSEP_CLASSES]; gendata_cocsep(buf, selfsim, rep); /* All cases in the same test so we do not generate data many times */ while (fgets(str, STRLENMAX, stdin) != NULL) { - fast = cubetofast(readcube("H48", str)); - coord = coord_fast_cocsep(fast); + cube = readcube("H48", str); + coord = coord_cocsep(cube); data = buf[coord]; coclass = (data & (0xFFFU << 16)) >> 16; sim = selfsim[coclass]; -- cgit v1.3