Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This fixes a bug where on line 278 the Stack::staticEvals are initialized to 0. However VALUE_NONE is defined to be 32002 so this is a bug in master. It is probably due to the calculation of improvement, where staticEval prior to rootPos can be accessed. https://tests.stockfishchess.org/tests/view/63ab91cf39af998100ce1666 LLR: 2.94 (-2.94,2.94) <0.00,2.00> Total: 53736 W: 14285 L: 13955 D: 25496 Ptnml(0-2): 121, 5921, 14500, 6159, 167 https://tests.stockfishchess.org/tests/view/63b2af5ee28ed36c814bed52 LLR: 2.94 (-2.94,2.94) <-1.75,0.25> Total: 33776 W: 9130 L: 8934 D: 15712 Ptnml(0-2): 14, 3240, 10185, 3434, 15 closes #4320 Bench: 4068510
- Loading branch information