Skip to content

Commit 65f11e0

Browse files
committed
MAINT: special/cephes: use NPY_NZERO
1 parent 6bfdfd4 commit 65f11e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scipy/special/cephes/powi.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
*/
4545

4646
#include "mconf.h"
47-
extern double NEGZERO, MAXLOG, MINLOG, LOGE2;
47+
extern double MAXLOG, MINLOG, LOGE2;
4848

4949
double powi(x, nn)
5050
double x;
@@ -158,7 +158,7 @@ int nn;
158158
if (asign) {
159159
/* odd power of negative number */
160160
if (y == 0.0)
161-
y = NEGZERO;
161+
y = NPY_NZERO;
162162
else
163163
y = -y;
164164
}

0 commit comments

Comments
 (0)