diff options
Diffstat (limited to 'src/window_function.rs')
| -rw-r--r-- | src/window_function.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window_function.rs b/src/window_function.rs index c6aef77..98b034b 100644 --- a/src/window_function.rs +++ b/src/window_function.rs @@ -103,7 +103,7 @@ impl WindowFunction for HannWindow { // set the output samples // in other functions this will also include normalizing in a loop - data[..half_window_size].copy_from_slice(&self.overlap_add[..half_window_size]); + data[..half_window_size].copy_from_slice(&self.overlap_add[..half_window_size]); // shift the saved overlap to become the next overlap self.overlap_add.rotate_left(half_window_size); |
