This commit is contained in:
Christopher Taylor 2017-06-03 00:29:54 -07:00
parent 968c4f4f6a
commit 062084c11f
1 changed files with 2 additions and 6 deletions

View File

@ -815,9 +815,7 @@ static void IFFT_DIT(
const ffe_t log_m02 = skewLUT[r + dist * 2]; const ffe_t log_m02 = skewLUT[r + dist * 2];
// For each set of dist elements: // For each set of dist elements:
unsigned i_end = r + dist; const unsigned i_end = r + dist;
if (i_end >= m_truncated)
i_end = m_truncated;
for (unsigned i = r; i < i_end; ++i) for (unsigned i = r; i < i_end; ++i)
{ {
IFFT_DIT4( IFFT_DIT4(
@ -1235,9 +1233,7 @@ static void FFT_DIT(
const ffe_t log_m02 = skewLUT[r + dist * 2]; const ffe_t log_m02 = skewLUT[r + dist * 2];
// For each set of dist elements: // For each set of dist elements:
unsigned i_end = r + dist; const unsigned i_end = r + dist;
if (i_end >= m_truncated)
i_end = m_truncated;
for (unsigned i = r; i < i_end; ++i) for (unsigned i = r; i < i_end; ++i)
{ {
FFT_DIT4( FFT_DIT4(