Assign cosMap as undefined variables in strict mode (and ES6) throw errors
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@
|
||||
* tool to understand the Mel-scale and its related coefficients used in
|
||||
* human speech analysis.
|
||||
\*===========================================================================*/
|
||||
cosMap = null;
|
||||
var cosMap = null;
|
||||
|
||||
// Builds a cosine map for the given input size. This allows multiple input sizes to be memoized automagically
|
||||
// if you want to run the DCT over and over.
|
||||
|
||||
Reference in New Issue
Block a user