aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/000_gendata/gendata.c2
-rw-r--r--tools/expected_distributions.h2
-rw-r--r--tools/nissy_extra.h2
-rw-r--r--tools/tool.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/tools/000_gendata/gendata.c b/tools/000_gendata/gendata.c
index cd7fb0f..66c4864 100644
--- a/tools/000_gendata/gendata.c
+++ b/tools/000_gendata/gendata.c
@@ -49,7 +49,7 @@ int main(int argc, char **argv) {
49 } 49 }
50 50
51 solver = argv[1]; 51 solver = argv[1];
52 parse_h48_solver(solver, &h, &k); 52 parse_h48_hk(solver, &h, &k);
53 expected = expected_h48[h][k]; 53 expected = expected_h48[h][k];
54 54
55 nissy_setlogger(log_stderr, NULL); 55 nissy_setlogger(log_stderr, NULL);
diff --git a/tools/expected_distributions.h b/tools/expected_distributions.h
index 12faf1d..1193fb3 100644
--- a/tools/expected_distributions.h
+++ b/tools/expected_distributions.h
@@ -160,7 +160,7 @@ uint64_t expected_dreo[21] = {
160 [4] = 160, 160 [4] = 160,
161 [5] = 1286, 161 [5] = 1286,
162 [6] = 8550, 162 [6] = 8550,
163 [7] = 42512, 163 [7] = 42152,
164 [8] = 90748, 164 [8] = 90748,
165 [9] = 33466, 165 [9] = 33466,
166 [10] = 757, 166 [10] = 757,
diff --git a/tools/nissy_extra.h b/tools/nissy_extra.h
index 8b27c3e..9a7df50 100644
--- a/tools/nissy_extra.h
+++ b/tools/nissy_extra.h
@@ -10,5 +10,5 @@ for testing purposes only.
10#include "../src/solvers/tables.h" 10#include "../src/solvers/tables.h"
11 11
12size_t gendata_h48_derive(uint8_t, const unsigned char *, unsigned char *); 12size_t gendata_h48_derive(uint8_t, const unsigned char *, unsigned char *);
13long long parse_h48_solver(const char *, uint8_t [static 1], uint8_t [static 1]); 13long long parse_h48_hk(const char *, uint8_t [static 1], uint8_t [static 1]);
14long long int nissy_datainfo(uint64_t, const unsigned char *); 14long long int nissy_datainfo(uint64_t, const unsigned char *);
diff --git a/tools/tool.h b/tools/tool.h
index 77cdf34..225f789 100644
--- a/tools/tool.h
+++ b/tools/tool.h
@@ -126,7 +126,7 @@ derivetable(
126 goto derivetable_error; 126 goto derivetable_error;
127 } 127 }
128 128
129 if (parse_h48_solver(solver_small, &h, &k) != 0) { 129 if (parse_h48_hk(solver_small, &h, &k) != NISSY_OK) {
130 gensize = -3; 130 gensize = -3;
131 goto derivetable_error; 131 goto derivetable_error;
132 } 132 }

Generated with cgit - Back to sebastiano.tronto.net