mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 00:56:39 +08:00
Further streamline connected pawn evaluation
Make even more clear what are the terms that contribute to evaluate connected pawns, and completely separate them from the weights that are now fully looked up in a table. For future tuning makes sense to init the table with a formula instead of hard-code it. This allows to reduce problem space cardinality and makes tuning easier. And fix a MSVC warning while there: warning C4804: '>>' : unsafe use of type 'bool' in operation No functional change.
This commit is contained in:
@@ -37,6 +37,7 @@ int main(int argc, char* argv[]) {
|
||||
Bitbases::init_kpk();
|
||||
Search::init();
|
||||
Eval::init();
|
||||
Pawns::init();
|
||||
Threads.init();
|
||||
TT.resize(Options["Hash"]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user