summaryrefslogtreecommitdiff
path: root/src/book.c
diff options
context:
space:
mode:
authorScott Gasch <[email protected]>2026-09-20 10:20:16 -0700
committerScott Gasch <[email protected]>2026-09-20 10:20:16 -0700
commit48a958fb6e14607a68067a09b4a4cb576bf6b742 (patch)
tree8951c83088995df8c3e5efe328634478c27ba5b4 /src/book.c
parent8c0d66f13f08cb5e760d787a878260ad67d17c13 (diff)
INFINITY -> INFINITY_SCORE to not collide with math.h.
Diffstat (limited to 'src/book.c')
-rw-r--r--src/book.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/book.c b/src/book.c
index 1a5580b..4a39790 100644
--- a/src/book.c
+++ b/src/book.c
@@ -2967,7 +2967,7 @@ Return value:
pos = GetRootPosition();
InitializeSearcherContext(pos, ctx);
DumpPosition(pos);
- (void)Eval(ctx, -INFINITY, +INFINITY, NULL);
+ (void)Eval(ctx, -INFINITY_SCORE, +INFINITY_SCORE, NULL);
Trace("King safeties: W=%d, B=%d\n",
ctx->sPlyInfo[ctx->uPly].iKingScore[WHITE],
ctx->sPlyInfo[ctx->uPly].iKingScore[BLACK]);