[fix] the array for the array size that allows one bitstream for various sizes violates the pragma phase in compiler
@@ -32,7 +32,7 @@ public class DFTDynamic {
for (@Parallel int k = 0; k < n; k++) { // For each output element
float sumreal = 0;
float sumimag = 0;
- for (int t = 0; t < inputSize[0]; t++) { // For each input element
+ for (int t = 0; t < n; t++) { // For each input element
float angle = ((2 * TornadoMath.floatPI() * t * k) / (float) n);
sumreal += (inreal[t] * (TornadoMath.floatCos(angle)) + inimag[t] * (TornadoMath.floatSin(angle)));
sumimag += -(inreal[t] * (TornadoMath.floatSin(angle)) + inimag[t] * (TornadoMath.floatCos(angle)));
