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:
2
src/numpy/dtype.cpp
Normal file → Executable file
2
src/numpy/dtype.cpp
Normal file → Executable 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);
|
||||
|
||||
Reference in New Issue
Block a user