summaryrefslogtreecommitdiff
path: root/src/util.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/util.c
parent8c0d66f13f08cb5e760d787a878260ad67d17c13 (diff)
INFINITY -> INFINITY_SCORE to not collide with math.h.
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.c b/src/util.c
index deeb77d..f3c5521 100644
--- a/src/util.c
+++ b/src/util.c
@@ -484,7 +484,7 @@ Return value:
if (iScore > 0)
{
- uDist = +INFINITY - iScore;
+ uDist = +INFINITY_SCORE - iScore;
uDist /= 2;
if (uDist)
{
@@ -497,7 +497,7 @@ Return value:
}
else
{
- uDist = +INFINITY + iScore;
+ uDist = +INFINITY_SCORE + iScore;
uDist /= 2;
if (uDist)
{