mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +00:00
Simplify next_move by always scoring evasions
For a default bench, this fixes the last valgrind error (jump on uninitialised value). Passed STC: LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 187869 W: 33303 L: 33463 D: 121103 No functional change.
This commit is contained in:
parent
9893e7fd53
commit
3686e719a1
1 changed files with 1 additions and 2 deletions
|
@ -271,7 +271,6 @@ Move MovePicker::next_move() {
|
|||
case EVASIONS_INIT:
|
||||
cur = moves;
|
||||
endMoves = generate<EVASIONS>(pos, cur);
|
||||
if (endMoves - cur - (ttMove != MOVE_NONE) > 1)
|
||||
score<EVASIONS>();
|
||||
++stage;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue