Skip to content

Commit d2e1ded

Browse files
committed
changing quad->quad cast to NPY_NO_CASTING from NPY_SAME_CASTING
1 parent 63dc446 commit d2e1ded

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

quaddtype/quaddtype/src/casts.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ quad_to_quad_resolve_descriptors(PyObject *NPY_UNUSED(self),
4040
}
4141

4242
*view_offset = 0;
43-
return NPY_SAME_KIND_CASTING;
43+
return NPY_NO_CASTING;
4444
}
4545

4646
static int
@@ -399,7 +399,7 @@ init_casts_internal(void)
399399
.name = "cast_QuadPrec_to_QuadPrec",
400400
.nin = 1,
401401
.nout = 1,
402-
.casting = NPY_SAME_KIND_CASTING,
402+
.casting = NPY_NO_CASTING,
403403
.flags = NPY_METH_SUPPORTS_UNALIGNED,
404404
.dtypes = quad2quad_dtypes,
405405
.slots = quad2quad_slots,

0 commit comments

Comments
 (0)