Mercurial > hg > sv-dependency-builds
view src/fftw-3.3.5/libbench2/caset.c @ 164:9fa11135915a
This Mac compatibility fix appears to work, resolving SourceForge issue #273 Port Audio Fail on MacOS Catalina (10.15) - merging back
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Thu, 31 Oct 2019 13:20:41 +0000 |
parents | 7867fa7e1b6b |
children |
line wrap: on
line source
/* not worth copyrighting */ #include "bench.h" void caset(bench_complex *A, int n, bench_complex x) { int i; for (i = 0; i < n; ++i) { c_re(A[i]) = c_re(x); c_im(A[i]) = c_im(x); } }