mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-18 16:16:23 +08:00
Fix dbg_mean_of() to enable statistics when called
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -96,6 +96,7 @@ void dbg_after() {
|
|||||||
void dbg_mean_of(int v) {
|
void dbg_mean_of(int v) {
|
||||||
|
|
||||||
assert(!dbg_show_hit_rate);
|
assert(!dbg_show_hit_rate);
|
||||||
|
dbg_show_mean = true;
|
||||||
dbg_cnt0++;
|
dbg_cnt0++;
|
||||||
dbg_cnt1 += v;
|
dbg_cnt1 += v;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user