aboutsummaryrefslogtreecommitdiff
path: root/src/solvers/h48
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2025-04-08 15:16:21 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2025-04-08 15:16:21 +0200
commite4f356b9592599ad91aac34bf2265c9bcdfbb81f (patch)
tree5a95908f9cb9cf5ad7d7802661e1d0c3bc2a0e3a /src/solvers/h48
parentc5a6ff0443fc9e5e890fe72cb13ea78d4fe2bbcb (diff)
downloadnissy-core-e4f356b9592599ad91aac34bf2265c9bcdfbb81f.tar.gz
nissy-core-e4f356b9592599ad91aac34bf2265c9bcdfbb81f.zip
Some minor changes to the interface.
- Simplified logger to accept only a string, not a variadic list of args like printf(). This can still use some improvement, but now it is easier to use from other languages. - Fixed some misuses of the logger (wrong types etc) - Renamed some constants - Fixed some typos in comments.
Diffstat (limited to 'src/solvers/h48')
-rw-r--r--src/solvers/h48/gendata_h48.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/solvers/h48/gendata_h48.h b/src/solvers/h48/gendata_h48.h
index b6647ed..ba0cc50 100644
--- a/src/solvers/h48/gendata_h48.h
+++ b/src/solvers/h48/gendata_h48.h
@@ -232,7 +232,7 @@ gendata_h48h0k4(gendata_h48_arg_t arg[static 1])
232 bfsarg[t].table_mutex[tt] = &table_mutex[tt]; 232 bfsarg[t].table_mutex[tt] = &table_mutex[tt];
233 } 233 }
234 for (done = 1, d = 1; done < h48max && d <= arg->maxdepth; d++) { 234 for (done = 1, d = 1; done < h48max && d <= arg->maxdepth; d++) {
235 LOG("h48: generating depth %" PRIu8 "\n", d); 235 LOG("h48: generating depth %" PRId64 "\n", d);
236 236
237 for (t = 0; t < THREADS; t++) { 237 for (t = 0; t < THREADS; t++) {
238 bfsarg[t].depth = d; 238 bfsarg[t].depth = d;

Generated with cgit - Back to sebastiano.tronto.net