xmos / lib_xcore_math

XMOS optimised arithmetic and vector processing library
Other
6 stars 14 forks source link

XS3_BFP_DEBUG_CHECK_LENGTHS: bug in assert #146

Closed rhd-idmt closed 1 year ago

rhd-idmt commented 1 year ago

In file bfp_s32.c, there are two wrong asserts: In functions void bfp_s32_macc(...) void bfp_s32_nmacc(...) it should say

assert(b->length == acc->length);

instead of

assert(b->length == a->length);

Kind regards Marco

mbanth commented 1 year ago

This issue is now tracked in Jira AP-122.

uvvpavel commented 1 year ago

Hi @rhd-idmt, thank you for reporting this bug. It has been fixed in the recent push to the develop branch, hope you have a great experience using lib_xcore_math