From 0c2d30c9382b65993bcb46ec6a3a410d00404bb0 Mon Sep 17 00:00:00 2001 From: Bruno Raoult Date: Sun, 23 Jun 2024 19:52:59 +0200 Subject: [PATCH] put back bug_on() following brlib change --- src/hash.h | 4 ++-- src/position.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hash.h b/src/hash.h index ef4e3d8..6615710 100644 --- a/src/hash.h +++ b/src/hash.h @@ -14,7 +14,7 @@ #ifndef HASH_H #define HASH_H -//#include +#include #include "chessdefs.h" @@ -121,7 +121,7 @@ bool zobrist_verify(pos_t *pos); */ static inline void tt_prefetch(hkey_t key) { -// bug_on(!hash_tt.keys); + bug_on(!hash_tt.keys); __builtin_prefetch(hash_tt.keys + (key & hash_tt.mask)); } diff --git a/src/position.h b/src/position.h index 5676430..a3eeb67 100644 --- a/src/position.h +++ b/src/position.h @@ -19,7 +19,7 @@ #include #include #include -// #include +#include #include "chessdefs.h" #include "hash.h"