mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-23 18:46:59 +08:00
Remove useless razoring condition
STC: LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 20626 W: 3977 L: 3855 D: 12794 LTC: LLR: 3.10 (-2.94,2.94) [-3.00,1.00] Total: 87334 W: 13675 L: 13648 D: 60011 Retire also the now unused pawn_on_7th() helper. bench: 8248166
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
/// The Stats struct stores moves statistics. According to the template parameter
|
||||
/// the class can store History and Countermoves. History records how often
|
||||
/// different moves have been successful or unsuccessful during the current search
|
||||
/// and is used for reduction and move ordering decisions.
|
||||
/// and is used for reduction and move ordering decisions.
|
||||
/// Countermoves store the move that refute a previous one. Entries are stored
|
||||
/// using only the moving piece and destination square, hence two moves with
|
||||
/// different origin but same destination and piece will be considered identical.
|
||||
@@ -54,7 +54,7 @@ struct Stats {
|
||||
void update(Piece pc, Square to, Value v) {
|
||||
|
||||
if (abs(table[pc][to] + v) < Max)
|
||||
table[pc][to] += v;
|
||||
table[pc][to] += v;
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user