fixed bug in Gaussian window introduced 2019

Typo in commit: 98a5a204d1
This commit is contained in:
Ahmet Inan 2021-04-01 11:31:40 +02:00
commit 0427f29ce5

View file

@ -74,7 +74,7 @@ public:
Gauss(TYPE o) : o(o) {}
TYPE operator () (int n, int N)
{
return exp(- TYPE(0.5) * pow((TYPE(n) - TYPE(N - 0) / TYPE(2)) / (o * TYPE(N - 1) / TYPE(2)), TYPE(2)));
return exp(- TYPE(0.5) * pow((TYPE(n) - TYPE(N - 1) / TYPE(2)) / (o * TYPE(N - 1) / TYPE(2)), TYPE(2)));
}
};