diff --git a/code/ulab.c b/code/ulab.c index b9999671..12f37027 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.6.0 +#define ULAB_VERSION 6.6.1 #define xstr(s) str(s) #define str(s) #s diff --git a/code/utils/utils.c b/code/utils/utils.c index 8477f5de..17e6ca0a 100644 --- a/code/utils/utils.c +++ b/code/utils/utils.c @@ -286,7 +286,7 @@ mp_obj_t utils_spectrogram(size_t n_args, const mp_obj_t *pos_args, mp_map_t *kw uint8_t *array = (uint8_t *)in->array; - #if ULAB_FFT_IS_NUMPY_COMPATIBLE // ULAB_SUPPORTS_COMPLEX is automatically true + #if ULAB_FFT_IS_NUMPY_COMPATIBLE & ULAB_SUPPORTS_COMPLEX if(in->dtype == NDARRAY_COMPLEX) { uint8_t sz = 2 * sizeof(mp_float_t); for(size_t i = 0; i < len; i++) { diff --git a/docs/ulab-change-log.md b/docs/ulab-change-log.md index 11e4a648..c857f96d 100644 --- a/docs/ulab-change-log.md +++ b/docs/ulab-change-log.md @@ -1,3 +1,9 @@ +Sun, 24 Nov 2024 + +version 6.6.1 + + fix compilation error, for complexes + Wed, 9 Oct 2024 version 6.6.0