fixed in-place divide

This commit is contained in:
Zoltán Vörös 2020-11-17 07:09:24 +01:00
parent 424abb0d66
commit be7f18e888
2 changed files with 2 additions and 2 deletions

View file

@ -760,7 +760,7 @@ mp_obj_t ndarray_inplace_divide(ndarray_obj_t *lhs, ndarray_obj_t *rhs, int32_t
INPLACE_LOOP(lhs, mp_float_t, uint8_t, larray, rarray, rstrides, /=);
} else if(rhs->dtype == NDARRAY_INT8) {
INPLACE_LOOP(lhs, mp_float_t, int8_t, larray, rarray, rstrides, /=);
} else if(lhs->dtype == NDARRAY_UINT16) {
} else if(rhs->dtype == NDARRAY_UINT16) {
INPLACE_LOOP(lhs, mp_float_t, uint16_t, larray, rarray, rstrides, /=);
} else if(rhs->dtype == NDARRAY_INT16) {
INPLACE_LOOP(lhs, mp_float_t, int16_t, larray, rarray, rstrides, /=);

View file

@ -2,7 +2,7 @@ Tue, 17 Nov 2020
version 1.3.7
fixed in-place power
fixed in-place power, in-place divide
Mon, 16 Nov 2020