]> git.sesse.net Git - stockfish/commit - src/types.h
Fix null move issue
authorperegrineshahin <peregrineshahin@gmail.com>
Sat, 11 Mar 2023 22:22:55 +0000 (01:22 +0300)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Sun, 19 Mar 2023 10:25:48 +0000 (11:25 +0100)
commit515b66f18833ed87e97313d2ec4dfa4e2329d3df
tree2cb494a1a983c373643f6dd9ce58f50e6c61284d
parentf0556dcbe3ba2fc804ab26d4552446602a75f064
Fix null move issue

Fix altering for stats landing on B1 Square after a null move and fix considering counter-moves on A1 for root node.

fixes https://github.com/official-stockfish/Stockfish/issues/4333 by preventing calls to from_sq and to_sq functions over null-moves and none-moves.

closes https://github.com/official-stockfish/Stockfish/pull/4448

bench: 4980082
src/search.cpp
src/types.h
src/uci.cpp