From 4e779519e44592f919620efd29042153680103ac Mon Sep 17 00:00:00 2001 From: FauziAkram Date: Thu, 9 Nov 2023 13:59:42 +0300 Subject: [PATCH] bench: 1484225 bench: 1484225 --- src/evaluate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/evaluate.cpp b/src/evaluate.cpp index 9c39d4c07fb..7167acbfab6 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -164,7 +164,7 @@ Value Eval::evaluate(const Position& pos) { int shuffling = pos.rule50_count(); int simpleEval = simple_eval(pos, stm) + (int(pos.key() & 7) - 3); - bool lazy = abs(simpleEval) >= RookValue + KnightValue + 16 * shuffling * shuffling + bool lazy = abs(simpleEval) >= RookValue + KnightValue + shuffling * shuffling + abs(pos.this_thread()->bestValue) + abs(pos.this_thread()->rootSimpleEval);