Fix typo in fft.js

inital -> initial
pull/1637/head
Ikko Eltociear Ashimine 2023-10-21 21:18:01 +09:00 committed by GitHub
parent ac7daa70f7
commit 4b6b1f7841
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ function FFT(size) {
for (let t = 1; this.size > t; t <<= 1) { power++ }
// Calculate initial step's width:
// * If we are full radix-4 - it is 2x smaller to give inital len=8
// * If we are full radix-4 - it is 2x smaller to give initial len=8
// * Otherwise it is the same as `power` to give len=4
this._width = power % 2 === 0 ? power - 1 : power