diff options
author | Jasper | 2025-09-09 12:16:26 +0200 |
---|---|---|
committer | Jasper | 2025-09-09 12:16:26 +0200 |
commit | 5fd2f59d9f30253cb0c64a06a4a305e90b89e3ae (patch) | |
tree | 1fa55449eb91489a428eeb48307d7d314b208860 /debug.c | |
parent | 29f92b1c7dad80b40654f561fbe82f5c1d9df7b2 (diff) |
Variadic functions to free matrices/vectors
Renamed 'matrix_freen' to 'matrix_free_many1'. Frees a dynamic array of
matrices.
Diffstat (limited to 'debug.c')
-rw-r--r-- | debug.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -49,8 +49,7 @@ TIMER(&_samples[i], \ func(_A, _B, ##__VA_ARGS__) \ ); \ - matrix_free(_A); \ - matrix_free(_B); \ + matrix_free_many(2, _A, _B); \ } \ print_bm(#func, (details_str), _samples, MATRIX_BM_N_SAMPLES); \ } while(0) |