2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-27 19:12:16 +00:00

Fixing compiling error 'error: ‘NPY_FLOAT16’ was not declared in this scope'

Signed-off-by: Saliya <hamparawa@gmail.com>
This commit is contained in:
Saliya
2017-05-08 17:12:36 +05:30
committed by Stefan Seefeld
parent b2f53e1acf
commit 3613142839

2
src/numpy/dtype.cpp Normal file → Executable file
View File

@@ -62,7 +62,9 @@ BUILTIN_INT_DTYPE(8);
BUILTIN_INT_DTYPE(16);
BUILTIN_INT_DTYPE(32);
BUILTIN_INT_DTYPE(64);
#ifdef NPY_FLOAT16
BUILTIN_FLOAT_DTYPE(16);
#endif
BUILTIN_FLOAT_DTYPE(32);
BUILTIN_FLOAT_DTYPE(64);
BUILTIN_COMPLEX_DTYPE(64);