summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--numpy/core/src/npymath/npy_math_private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/src/npymath/npy_math_private.h b/numpy/core/src/npymath/npy_math_private.h
index 7ca0c5ba0..a474b3de3 100644
--- a/numpy/core/src/npymath/npy_math_private.h
+++ b/numpy/core/src/npymath/npy_math_private.h
@@ -514,7 +514,7 @@ typedef union {
typedef union {
npy_cdouble npy_z;
#ifdef __cplusplus
- std::complex<double> c99z;
+ std::complex<double> c99_z;
#else
complex double c99_z;
#endif
@@ -523,7 +523,7 @@ typedef union {
typedef union {
npy_cfloat npy_z;
#ifdef __cplusplus
- std::complex<float> c99z;
+ std::complex<float> c99_z;
#else
complex float c99_z;
#endif