- Timestamp:
- Dec 28, 2023, 1:35:18 PM (12 months ago)
- Branches:
- master
- Children:
- 77fb5bf
- Parents:
- 6fa0bc3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/src/spectral/test-dct.c
r6fa0bc3 r7df72ac 1 1 #include <math.h> 2 2 #include "aubio.h" 3 #include "aubio_priv.h" 3 4 #include "utils_tests.h" 4 5 … … 33 34 aubio_dct_rdo (dct, dctout, out); 34 35 for (j = 0; j < in->length; j++) { 35 return_code += ( fabsf(in->data[j] - out->data[j]) > 10.e-4);36 return_code += (ABS(in->data[j] - out->data[j]) > 10.e-4); 36 37 } 37 38 }
Note: See TracChangeset
for help on using the changeset viewer.