The tests currently like to use _mm_malloc() or valloc() for aligned allocation in tests/test.c. Better and cleaner seems to be the use of ffts_aligned_malloc() and ffts_aligned_free(). And this may be also what downstream users want to use? Its at least in line with other FFT libraries.
This should be a mostly harmless change, that brings ffts more in line with typical behavior of fftw and other fft libraries. Also it simplifies writing tests for ffts. Let me know what you think?
The tests currently like to use
_mm_malloc()
orvalloc()
for aligned allocation intests/test.c
. Better and cleaner seems to be the use offfts_aligned_malloc()
andffts_aligned_free()
. And this may be also what downstream users want to use? Its at least in line with other FFT libraries.This PR makes the methods public.