From ae87816552faacaa75cdd5f89ea3d415285c9a07 Mon Sep 17 00:00:00 2001 From: Fulvio Date: Tue, 10 Dec 2024 10:47:44 +0100 Subject: [PATCH] Change the frequency of progress report in searchpos.h --- src/searchpos.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/searchpos.h b/src/searchpos.h index 45a6ab056..b24a7065f 100644 --- a/src/searchpos.h +++ b/src/searchpos.h @@ -186,10 +186,9 @@ class SearchPos { ply = base.getGame(ie).search(board_, nPieces_); if (ply != 0) filter.set(i, (ply > 255) ? 255 : ply); - - if ((progress++ % 256) == 0 && !prg.report(i, n)) - return false; } + if (progress++ % 512 == 0 && !prg.report(i, n)) + return false; } return true; }