repo.or.cz
/
pachi.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
UCB1: With multiple descend candidates, choose one randomly
[pachi.git]
/
debug.h
blob
08598af529bf7f5bdb25f0091adbfcc829c353ca
1
#ifndef ZZGO_DEBUG_H
2
#define ZZGO_DEBUG_H
3
4
#ifdef DEBUG
5
#define DEBUGL_(l, n) (unlikely((l) > (n)))
6
#else
7
#define DEBUGL_(l, n) (false)
8
#endif
9
10
extern
int
debug_level
;
11
12
#define DEBUGL(n) DEBUGL_(debug_level, n)
13
14
#endif