put back bug_on() following brlib change

This commit is contained in:
2024-06-23 19:52:59 +02:00
parent 3a6c1d11c0
commit 0c2d30c938
2 changed files with 3 additions and 3 deletions

View File

@@ -14,7 +14,7 @@
#ifndef HASH_H
#define HASH_H
//#include <bug.h>
#include <bug.h>
#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));
}

View File

@@ -19,7 +19,7 @@
#include <brlib.h>
#include <bitops.h>
#include <struct-group.h>
// #include <bug.h>
#include <bug.h>
#include "chessdefs.h"
#include "hash.h"