Fixing compiling error 'error: ‘NPY_FLOAT16’ was not declared in this scope'
Signed-off-by: Saliya <hamparawa@gmail.com>
This commit is contained in:
parent
b2f53e1acf
commit
3613142839
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);
|
||||
|
Loading…
Reference in New Issue
Block a user