mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
fixes for VILLAScommonn submodule
This commit is contained in:
parent
30fb71d8eb
commit
b764dbfd7d
2 changed files with 3 additions and 3 deletions
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit 9829511e3fc2f34092acd71a61d32a845c47570a
|
||||
Subproject commit 9ab32214a2adfa696f91b7f1648d620ad5cbc88b
|
|
@ -61,7 +61,7 @@ protected:
|
|||
|
||||
void step(double *in, std::complex<float> *out)
|
||||
{
|
||||
int N = window.getSteps();
|
||||
int N = window.getLength();
|
||||
__attribute__((unused)) std::complex<double> om_k, corr;
|
||||
double newest = *in;
|
||||
__attribute__((unused)) double oldest = window.update(newest);
|
||||
|
@ -87,7 +87,7 @@ protected:
|
|||
std::complex<double> X_k = 0;
|
||||
|
||||
for (int n = 0; n < N; n++) {
|
||||
double x_n = window[window.getPos() + n];
|
||||
double x_n = window[n];
|
||||
|
||||
X_k += x_n * std::exp(om_k * (double) n);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue