* Prefix all algorithm parameters with PARAM_ so we can still use variable
[matthijs/projects/montium-fft.git] / FFT.mc
diff --git a/FFT.mc b/FFT.mc
index 6df71adcf9574508b3254204185c092ce8e12746..330b7f5be67632df7d362477e7651dc8492ac31c 100644 (file)
--- a/FFT.mc
+++ b/FFT.mc
@@ -179,7 +179,7 @@ INLINE void do_half_regular_stage(struct mems m, bool stage_odd, bool second_hal
        /* Now, do a single stage. That means N_t / 2 cycles. Since we do 2\r
         * cycles on every iteration, plus one before and after the loop,\r
         * we will loop N_t / 4 - 1 times. */\r
-       init_loop(LC2, (N_t / 4) - 1);\r
+       init_loop(LC2, (PARAM_N_t / 4) - 1);\r
        do {\r
                /* Write outputs of previous cycle */\r
                write_output_regular(m, out, second_half);\r