Skip to content

Commit

Permalink
Fix small mistake in direct
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaem committed Apr 19, 2024
1 parent ce68ff8 commit a76c009
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/C/leg2cheb.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ size_t direct(const double *u, double *b, direct_plan *dplan, size_t direction,
b[i * strides] *= (i + 0.5);
flops += N;
fftw_free(vn);
}
}
/*} else {
if (direction == L2C) {
const double *ap = &dplan->lf[0];
Expand Down Expand Up @@ -231,7 +231,7 @@ size_t direct(const double *u, double *b, direct_plan *dplan, size_t direction,
flops += N;
fftw_free(vn);
}
*/}
}*/
return flops;
}

Expand Down

0 comments on commit a76c009

Please sign in to comment.