Skip to content

Commit e6a547b

Browse files
author
jeromekelleher
committed
Update halffloat.c
Corrected preprocessor form.
1 parent 90ececa commit e6a547b

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)