annotate src/fftw-3.3.3/libbench2/caset.c @ 80:0b60a66de5e2

This Mac compatibility fix appears to work, resolving SourceForge issue #273 Port Audio Fail on MacOS Catalina (10.15) - merging back
author Chris Cannam
date Thu, 31 Oct 2019 13:20:41 +0000
parents 37bf6b4a2645
children
rev   line source
Chris@10 1 /* not worth copyrighting */
Chris@10 2
Chris@10 3 #include "bench.h"
Chris@10 4
Chris@10 5 void caset(bench_complex *A, int n, bench_complex x)
Chris@10 6 {
Chris@10 7 int i;
Chris@10 8 for (i = 0; i < n; ++i) {
Chris@10 9 c_re(A[i]) = c_re(x);
Chris@10 10 c_im(A[i]) = c_im(x);
Chris@10 11 }
Chris@10 12 }