From 52c21640508c3fc668107778ae027ff4428ebd89 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Tue, 29 Jul 2025 10:55:29 +0200 Subject: Cleanup some TODOs --- src/solvers/h48/checkdata.h | 5 +---- src/solvers/h48/gendata_cocsep.h | 2 +- src/solvers/h48/gendata_h48.h | 6 +++--- 3 files changed, 5 insertions(+), 8 deletions(-) (limited to 'src/solvers/h48') diff --git a/src/solvers/h48/checkdata.h b/src/solvers/h48/checkdata.h index 1ee053d..af0499d 100644 --- a/src/solvers/h48/checkdata.h +++ b/src/solvers/h48/checkdata.h @@ -1,10 +1,7 @@ STATIC long long checkdata_h48( const char *, unsigned long long, const unsigned char *); -/* -Currently unused. -TODO: re-introduce check on cocsep table -*/ +/* TODO: Currently unused, re-introduce check on cocsep table */ uint64_t expected_cocsep[21] = { [0] = 1, [1] = 6, diff --git a/src/solvers/h48/gendata_cocsep.h b/src/solvers/h48/gendata_cocsep.h index 7a589b5..5d14db7 100644 --- a/src/solvers/h48/gendata_cocsep.h +++ b/src/solvers/h48/gendata_cocsep.h @@ -35,7 +35,7 @@ gendata_cocsep( .type = TABLETYPE_SPECIAL, .infosize = INFOSIZE, .fullsize = COCSEP_FULLSIZE, - .hash = 0, /* TODO */ + .hash = 0, .entries = COCSEP_TABLESIZE, .classes = COCSEP_CLASSES, .bits = 32, diff --git a/src/solvers/h48/gendata_h48.h b/src/solvers/h48/gendata_h48.h index a7d8408..72cb05d 100644 --- a/src/solvers/h48/gendata_h48.h +++ b/src/solvers/h48/gendata_h48.h @@ -117,7 +117,7 @@ gendata_h48(gendata_h48_arg_t arg[static 1]) arg->cocsepdata = (uint32_t *)cocsepdata_offset; arg->h48buf = (_Atomic unsigned char*)arg->buf + cocsepsize; - arg->base = 99; /* TODO: set this somewhere else */ + arg->base = 99; if (arg->h == 0 && arg->k == 4) { gendata_h48h0k4(arg); @@ -220,7 +220,7 @@ gendata_h48h0k4(gendata_h48_arg_t arg[static 1]) .type = TABLETYPE_PRUNING, .infosize = INFOSIZE, .fullsize = H48_TABLESIZE(0, 4) + INFOSIZE, - .hash = 0, /* TODO */ + .hash = 0, .entries = H48_COORDMAX(0), .classes = 0, .h48h = 0, @@ -676,7 +676,7 @@ makeinfo_h48k2(gendata_h48_arg_t arg[static 1]) .type = TABLETYPE_PRUNING, .infosize = INFOSIZE, .fullsize = H48_TABLESIZE(arg->h, 2) + INFOSIZE, - .hash = 0, /* TODO */ + .hash = 0, .entries = H48_COORDMAX(arg->h), .classes = 0, .h48h = arg->h, -- cgit v1.3