diff --git a/code/ndarray_operators.c b/code/ndarray_operators.c index dd2b24d6..3983dabc 100644 --- a/code/ndarray_operators.c +++ b/code/ndarray_operators.c @@ -652,7 +652,7 @@ mp_obj_t ndarray_binary_true_divide(ndarray_obj_t *lhs, ndarray_obj_t *rhs, } else if(rhs->dtype == NDARRAY_INT16) { BINARY_LOOP(results, mp_float_t, int16_t, int16_t, larray, lstrides, rarray, rstrides, /); } else if(rhs->dtype == NDARRAY_FLOAT) { - BINARY_LOOP(results, mp_float_t, uint16_t, mp_float_t, larray, lstrides, rarray, rstrides, /); + BINARY_LOOP(results, mp_float_t, int16_t, mp_float_t, larray, lstrides, rarray, rstrides, /); } } else if(lhs->dtype == NDARRAY_FLOAT) { if(rhs->dtype == NDARRAY_UINT8) { diff --git a/code/ulab.c b/code/ulab.c index 6c40db97..02b7cb3a 100644 --- a/code/ulab.c +++ b/code/ulab.c @@ -33,7 +33,7 @@ #include "user/user.h" #include "utils/utils.h" -#define ULAB_VERSION 6.0.9 +#define ULAB_VERSION 6.0.10 #define xstr(s) str(s) #define str(s) #s diff --git a/docs/ulab-change-log.md b/docs/ulab-change-log.md index dc829940..efe55e7b 100644 --- a/docs/ulab-change-log.md +++ b/docs/ulab-change-log.md @@ -1,3 +1,9 @@ +Sat, 6 May 2023 + +version 6.0.10 + + fix binary division + Sun, 21 Jan 2023 version 6.0.6