mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-22 12:47:08 +00:00
Init threat offsets at compile time
Init threat offsets at compile time. Avoid another global init function call. Passed STC Non-Regression: https://tests.stockfishchess.org/tests/view/694971a83c8768ca4507275c LLR: 2.94 (-2.94,2.94) <-1.75,0.25> Total: 43296 W: 11284 L: 11077 D: 20935 Ptnml(0-2): 152, 4611, 11924, 4800, 161 closes https://github.com/official-stockfish/Stockfish/pull/6487 No functional change
This commit is contained in:
@@ -21,7 +21,6 @@
|
||||
|
||||
#include "bitboard.h"
|
||||
#include "misc.h"
|
||||
#include "nnue/features/full_threats.h"
|
||||
#include "position.h"
|
||||
#include "tune.h"
|
||||
#include "uci.h"
|
||||
@@ -33,7 +32,6 @@ int main(int argc, char* argv[]) {
|
||||
|
||||
Bitboards::init();
|
||||
Position::init();
|
||||
Eval::NNUE::Features::init_threat_offsets();
|
||||
|
||||
auto uci = std::make_unique<UCIEngine>(argc, argv);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user