From 1e448f497dddfe35a51acab89ce5c441c177cf5f Mon Sep 17 00:00:00 2001 From: dwarning Date: Tue, 3 Dec 2013 20:17:16 +0100 Subject: [PATCH] 1-f-code.c, correct the printout for noise generation --- src/frontend/trannoise/1-f-code.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/frontend/trannoise/1-f-code.c b/src/frontend/trannoise/1-f-code.c index f00f44c90..37fae56f0 100644 --- a/src/frontend/trannoise/1-f-code.c +++ b/src/frontend/trannoise/1-f-code.c @@ -33,6 +33,7 @@ f_alpha(int n_pts, int n_exp, double X[], double Q_d, double alpha) fftw_complex *out = NULL; fftw_plan plan_forward = NULL; fftw_plan plan_backward = NULL; + NG_IGNORE(n_exp); #endif ha = alpha/2.0; @@ -109,7 +110,7 @@ f_alpha(int n_pts, int n_exp, double X[], double Q_d, double alpha) free(wfa); /* fft tables will be freed in vsrcaccept.c and isrcaccept.c fftFree(); */ - fprintf(stdout, "%d (2e%d) one over f values created\n", n_pts, n_exp); + fprintf(stdout, "%d 1/f noise values in time domain created\n", n_pts); }