aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2022-02-21 20:33:47 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2022-02-21 20:33:47 +0100
commit8c2a0d07a0a10940cb6aedc461d29fc8725a9839 (patch)
tree7c09d2b4bba9dc02a750a99cdf2513ab89f627a4
parent51a3278a0b189057ea488c1a7a1fab1447369617 (diff)
downloadnissy-8c2a0d07a0a10940cb6aedc461d29fc8725a9839.tar.gz
nissy-8c2a0d07a0a10940cb6aedc461d29fc8725a9839.zip
Fixed bug in using niss
-rw-r--r--TODO.md5
-rwxr-xr-xnissy.exebin788679 -> 788679 bytes
-rw-r--r--src/solve.c2
3 files changed, 5 insertions, 2 deletions
diff --git a/TODO.md b/TODO.md
index f043841..fe25539 100644
--- a/TODO.md
+++ b/TODO.md
@@ -13,7 +13,10 @@ It's more of a personal reminder than anything else.
13* Free large tables from memory before exit (this is not strictly necessary, 13* Free large tables from memory before exit (this is not strictly necessary,
14 but can help with WSL bugs) 14 but can help with WSL bugs)
15### Installation 15### Installation
16* Automatically download tables as an option for gen command 16* At startup, check if tables are all there; if not, print an error message
17 suggesting to run `nissy gen -t 8` (or more than 8). Is it actually
18 possible to make table generation at least 3x faster?
19* make 8 threads default for gen?
17### Documentation 20### Documentation
18* Write an examples.md file 21* Write an examples.md file
19* More screenshots! 22* More screenshots!
diff --git a/nissy.exe b/nissy.exe
index f143ec8..9dd92f8 100755
--- a/nissy.exe
+++ b/nissy.exe
Binary files differ
diff --git a/src/solve.c b/src/solve.c
index 0bd1de7..b9f5000 100644
--- a/src/solve.c
+++ b/src/solve.c
@@ -368,7 +368,7 @@ niss_makes_sense(DfsArg *arg)
368 Cube testcube; 368 Cube testcube;
369 369
370 testcube = apply_move(inverse_move(arg->last1), (Cube){0}); 370 testcube = apply_move(inverse_move(arg->last1), (Cube){0});
371 return arg->current_alg->len == 0 || arg->step->is_done(testcube); 371 return arg->current_alg->len == 0 || !arg->step->is_done(testcube);
372} 372}
373 373
374static bool 374static bool

Generated with cgit - Back to sebastiano.tronto.net