mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-24 21:57:14 +00:00
Merge commit '5688b188cc8560e107815c83a7084220fddebdb9' into cluster
This commit is contained in:
+2
-2
@@ -156,8 +156,8 @@ dotprod = no
|
||||
arm_version = 0
|
||||
STRIP = strip
|
||||
|
||||
ifneq ($(shell which clang-format-17 2> /dev/null),)
|
||||
CLANG-FORMAT = clang-format-17
|
||||
ifneq ($(shell which clang-format-18 2> /dev/null),)
|
||||
CLANG-FORMAT = clang-format-18
|
||||
else
|
||||
CLANG-FORMAT = clang-format
|
||||
endif
|
||||
|
||||
+2
-4
@@ -83,10 +83,8 @@ Value Eval::evaluate(const Eval::NNUE::Networks& networks,
|
||||
optimism += optimism * nnueComplexity / 470;
|
||||
nnue -= nnue * nnueComplexity / 20000;
|
||||
|
||||
int material = 300 * pos.count<PAWN>() + 350 * pos.count<KNIGHT>() + 400 * pos.count<BISHOP>()
|
||||
+ 640 * pos.count<ROOK>() + 1200 * pos.count<QUEEN>();
|
||||
|
||||
v = (nnue * (34300 + material) + optimism * (4400 + material)) / 36672;
|
||||
int material = 600 * pos.count<PAWN>() + pos.non_pawn_material();
|
||||
v = (nnue * (68600 + material) + optimism * (8800 + material)) / 73344;
|
||||
|
||||
// Damp down the evaluation linearly when shuffling
|
||||
v -= v * pos.rule50_count() / 212;
|
||||
|
||||
Reference in New Issue
Block a user