diff options
| -rw-r--r-- | numpy/core/include/numpy/npy_math.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/core/include/numpy/npy_math.h b/numpy/core/include/numpy/npy_math.h index bead0dc14..954c3d0e9 100644 --- a/numpy/core/include/numpy/npy_math.h +++ b/numpy/core/include/numpy/npy_math.h @@ -1,10 +1,6 @@ #ifndef NUMPY_CORE_INCLUDE_NUMPY_NPY_MATH_H_ #define NUMPY_CORE_INCLUDE_NUMPY_NPY_MATH_H_ -#ifdef __cplusplus -extern "C" { -#endif - #include <numpy/npy_common.h> #include <math.h> @@ -21,6 +17,10 @@ extern "C" { #endif +#ifdef __cplusplus +extern "C" { +#endif + /* * NAN and INFINITY like macros (same behavior as glibc for NAN, same as C99 * for INFINITY) |
