Skip to content

Commit 1c2f449

Browse files
committed
Minor fix
1 parent 8f2f05d commit 1c2f449

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

quaddtype/numpy_quaddtype/src/casts.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,7 @@ init_casts_internal(void)
767767

768768
add_cast_to<npy_bool>(&PyArray_BoolDType);
769769
add_cast_to<npy_byte>(&PyArray_ByteDType);
770-
add_cast_to<npy_ubyte>(&PyArray_ByteDType);
770+
add_cast_to<npy_ubyte>(&PyArray_UByteDType);
771771
add_cast_to<npy_short>(&PyArray_ShortDType);
772772
add_cast_to<npy_ushort>(&PyArray_UShortDType);
773773
add_cast_to<npy_int>(&PyArray_IntDType);
@@ -782,7 +782,7 @@ init_casts_internal(void)
782782

783783
add_cast_from<npy_bool>(&PyArray_BoolDType);
784784
add_cast_from<npy_byte>(&PyArray_ByteDType);
785-
add_cast_from<npy_ubyte>(&PyArray_ByteDType);
785+
add_cast_from<npy_ubyte>(&PyArray_UByteDType);
786786
add_cast_from<npy_short>(&PyArray_ShortDType);
787787
add_cast_from<npy_ushort>(&PyArray_UShortDType);
788788
add_cast_from<npy_int>(&PyArray_IntDType);

0 commit comments

Comments
 (0)