diff options
Diffstat (limited to 'common/sinetables.cpp')
-rw-r--r-- | common/sinetables.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/sinetables.cpp b/common/sinetables.cpp index 2198dbfd1a..7338166d39 100644 --- a/common/sinetables.cpp +++ b/common/sinetables.cpp @@ -34,7 +34,7 @@ SineTable::SineTable(int bitPrecision) { int m = 1 << _bitPrecision; double freq = 2 * M_PI / m; - _table = new float[m]; + _table = new float[m / 2]; // Table contains sin(2*pi*i/m) for 0<=i<m/4, // followed by m/2<=i<3m/4 |