Corrected an error introduced in dce954
This commit is contained in:
parent
e158e9e381
commit
89c26f462f
1 changed files with 1 additions and 1 deletions
|
|
@ -748,7 +748,7 @@ namespace _internals {
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
|
||||||
for (; i < panSize; ++i)
|
for (; i < panSize; ++i)
|
||||||
pan[i] = std::cos(i * (twoPi<double>() / (panSize - 1)));
|
pan[i] = std::cos(i * (piTwo<double>() / (panSize - 1)));
|
||||||
|
|
||||||
for (; i < static_cast<int>(pan.size()); ++i)
|
for (; i < static_cast<int>(pan.size()); ++i)
|
||||||
pan[i] = pan[panSize - 1];
|
pan[i] = pan[panSize - 1];
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue