Skip to content

Commit

Permalink
Fix "for loop" syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
tresf committed May 14, 2014
1 parent 6e25931 commit 7986492
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions imp_1199.xml
Expand Up @@ -79,8 +79,10 @@
for (i=0; i<length; i++) {
impulse_time[i] = imp[i];
}
for (; i<fftl; i++) {
impulse_time[i] = 0.0f;
int last = i;
for (i = 0; i<fftl; i++) {
if (i >=last) impulse_time[i] = 0.0f;
}
#ifdef FFTW3
fftwf_execute(tmp_plan);
Expand Down

0 comments on commit 7986492

Please sign in to comment.