Skip to content

Commit 756dad2

Browse files
committed
Merge pull request numpy#3541 from jeromekelleher/patch-1
BUG: make preprocessor tests consistent in halffloat.c
2 parents 8982c77 + e6a547b commit 756dad2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy/core/src/npymath/halffloat.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ npy_half npy_half_nextafter(npy_half x, npy_half y)
137137
ret = x+1;
138138
}
139139
}
140-
#ifdef NPY_HALF_GENERATE_OVERFLOW
140+
#if NPY_HALF_GENERATE_OVERFLOW
141141
if (npy_half_isinf(ret)) {
142142
npy_set_floatstatus_overflow();
143143
}

0 commit comments

Comments
 (0)