aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano.tronto@gmail.com>2021-12-24 17:26:07 +0100
committerSebastiano Tronto <sebastiano.tronto@gmail.com>2021-12-24 17:26:07 +0100
commit119ee0af023b702651b14d8e8e4e46d021a11845 (patch)
tree33bb6d4b494fa5c474042c11ca11b5ec327a0356 /src
parent825ad379983681769e83cc7fe1949c5922062799 (diff)
downloadnissy-119ee0af023b702651b14d8e8e4e46d021a11845.tar.gz
nissy-119ee0af023b702651b14d8e8e4e46d021a11845.zip
Fixed bug that prevented switching depending on branch factor (leftover from previous debugging)
Diffstat (limited to '')
-rw-r--r--src/solve.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/solve.c b/src/solve.c
index ac7a22e..a2ca2ad 100644
--- a/src/solve.c
+++ b/src/solve.c
@@ -24,9 +24,6 @@ allowed_next(Move m, DfsArg *arg)
24 bool bad, allowed, order; 24 bool bad, allowed, order;
25 uint64_t mbit; 25 uint64_t mbit;
26 26
27 if (arg->last1 == NULLMOVE)
28 return true;
29
30 mbit = ((uint64_t)1) << m; 27 mbit = ((uint64_t)1) << m;
31 bad = mbit & arg->badmoves; 28 bad = mbit & arg->badmoves;
32 allowed = mbit & arg->step->moveset->mask[arg->last2][arg->last1]; 29 allowed = mbit & arg->step->moveset->mask[arg->last2][arg->last1];

Generated with cgit - Back to sebastiano.tronto.net