From a7be4cba0f654e19136c0be683a89bbc7802ac41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduardo=20C=C3=A1ceres?= Date: Fri, 2 Feb 2024 16:10:15 +0100 Subject: [PATCH] Age 80% --- src/Lynx/Search/IDDFS.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Lynx/Search/IDDFS.cs b/src/Lynx/Search/IDDFS.cs index aeddf81e1..cf4bf8992 100644 --- a/src/Lynx/Search/IDDFS.cs +++ b/src/Lynx/Search/IDDFS.cs @@ -305,7 +305,10 @@ private int CheckPonderHit(ref SearchResult? lastSearchResult, int depth) for (int i = 0; i < _quietHistory.Length; i++) { - Array.Clear(_quietHistory[i]); + for (int j = 0; j < _quietHistory[i].Length; j++) + { + _quietHistory[i][j] = _quietHistory[i][j] * 8 / 10; + } } // Not clearing _captureHistory on purpose