]> git.sesse.net Git - stockfish/commitdiff
Simplify KPK classify
authorprotonspring <mike@whiteley.org>
Fri, 10 Jan 2020 22:08:47 +0000 (15:08 -0700)
committerStéphane Nicolet <cassio@free.fr>
Thu, 23 Jan 2020 16:49:10 +0000 (17:49 +0100)
This is a non-functional simplification. If we use the "side to move" of the entry
instead of the template, one of the classify methods goes away. Furthermore, I've
resolved  the colors in some of the statements (we're already assuming direction
using NORTH), and used stm (side to move) instead of "us," since this is much clearer
to me.

This is not tested because it is non-functional, only applies building the bitbase
and there are no changes to the binary (on my machine).

Closes https://github.com/official-stockfish/Stockfish/pull/2485

No functional change


No differences found