*
* GNU Radio is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
+ * the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* GNU Radio is distributed in the hope that it will be useful,
for (int n = -M; n <= M; n++){
if (n == 0)
- taps[n + M] = (1.0 + (fwT0 - fwT1)) / M_PI * w[n + M];
+ taps[n + M] = 1.0 + ((fwT0 - fwT1) / M_PI * w[n + M]);
else {
taps[n + M] = (sin (n * fwT0) - sin (n * fwT1)) / (n * M_PI) * w[n + M];
}