Assign cosMap as undefined variables in strict mode (and ES6) throw errors

This commit is contained in:
Sam Wray
2017-04-15 17:18:42 +01:00
committed by GitHub
parent 02b6492903
commit 5f62f183a3
+1 -1
View File
@@ -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.