[go: up one dir, main page]

Skip to content

Commit

Permalink
BUG Add missing NPY_ULONG to dispatch list
Browse files Browse the repository at this point in the history
  • Loading branch information
luispedro committed Jul 12, 2024
1 parent 6fa0088 commit 982242a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion mahotas/numpypp/dispatch.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,19 @@ typedef unsigned char uchar;
typedef unsigned short ushort;
#define HANDLE_INTEGER_TYPES() \
case NPY_BOOL: HANDLE(bool); break; \
\
case NPY_UBYTE: HANDLE(unsigned char); break; \
case NPY_BYTE: HANDLE(char); break; \
\
case NPY_SHORT: HANDLE(short); break; \
case NPY_USHORT: HANDLE(unsigned short); break; \
\
case NPY_INT: HANDLE(int); break; \
case NPY_UINT: HANDLE(unsigned int); break; \
case NPY_LONG: HANDLE(npy_long); break; \
\
case NPY_LONG: HANDLE(npy_long); break; \
case NPY_ULONG: HANDLE(npy_ulong); break; \
\
case NPY_LONGLONG: HANDLE(npy_longlong); break; \
case NPY_ULONGLONG: HANDLE(npy_ulonglong); break;

Expand Down

0 comments on commit 982242a

Please sign in to comment.