diff options
| author | Sebastiano Tronto <sebastiano.tronto@gmail.com> | 2021-12-24 17:26:07 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano.tronto@gmail.com> | 2021-12-24 17:26:07 +0100 |
| commit | 119ee0af023b702651b14d8e8e4e46d021a11845 (patch) | |
| tree | 33bb6d4b494fa5c474042c11ca11b5ec327a0356 | |
| parent | 825ad379983681769e83cc7fe1949c5922062799 (diff) | |
| download | nissy-119ee0af023b702651b14d8e8e4e46d021a11845.tar.gz nissy-119ee0af023b702651b14d8e8e4e46d021a11845.zip | |
Fixed bug that prevented switching depending on branch factor (leftover from previous debugging)
Diffstat (limited to '')
| -rwxr-xr-x | nissy | bin | 321192 -> 321160 bytes | |||
| -rw-r--r-- | src/solve.c | 3 |
2 files changed, 0 insertions, 3 deletions
| Binary files differ | |||
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]; |
