From 9484941f66b15b59fcaa19173a02476653b4c31a Mon Sep 17 00:00:00 2001 From: n1073645 Date: Mon, 6 Jan 2020 15:40:26 +0000 Subject: [PATCH] More tidying up --- src/core/operations/ExtractEntropies.mjs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/core/operations/ExtractEntropies.mjs b/src/core/operations/ExtractEntropies.mjs index 82908257..555faece 100644 --- a/src/core/operations/ExtractEntropies.mjs +++ b/src/core/operations/ExtractEntropies.mjs @@ -120,6 +120,7 @@ class ExtractEntropies extends Operation { * Calculates the scanning entropy of the input. * * @param {Uint8Array} inputBytes + * @param {number} binWidth * @returns {Object} */ calculateScanningEntropy(inputBytes, binWidth) { @@ -200,7 +201,7 @@ class ExtractEntropies extends Operation { * Retrieves all the blocks with entropy lower than the low mean. * * @param {Array} entropies - * @param {number} highEntropy + * @param {number} lowEntropy * @returns {Array} */ getAllBelow(entropies, lowEntropy) { @@ -335,8 +336,8 @@ class ExtractEntropies extends Operation { * Flips the groups to cover the remaining data. * * @param {Array} data - * @param {Number} length - * @param {Number} binWidth + * @param {number} length + * @param {number} binWidth * @returns {Array} */ flipGroupings(data, length, binWidth) {