rapid-spreadjs 1.0.44 → 1.0.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.cjs.min.js +1 -1
- package/dist/index.cjs.min.js.map +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.esm.min.js +1 -1
- package/dist/index.esm.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -18941,7 +18941,7 @@ const FormulaUtils = {
|
|
|
18941
18941
|
}
|
|
18942
18942
|
let bzc = retData.allCellVals[retData.allCellVals.length - 1];
|
|
18943
18943
|
var avg;
|
|
18944
|
-
avg = FormulaUtils.commFun.
|
|
18944
|
+
avg = FormulaUtils.commFun.getAverage(arr);
|
|
18945
18945
|
if (bzc <= 5) {
|
|
18946
18946
|
return avg;
|
|
18947
18947
|
}
|
|
@@ -18950,7 +18950,7 @@ const FormulaUtils = {
|
|
|
18950
18950
|
arr.shift(); // 删除首元素
|
|
18951
18951
|
arr.pop(); // 删除尾元素
|
|
18952
18952
|
var bzc1 = FormulaUtils.commFun.GetS(arr); //剔除后的标准差
|
|
18953
|
-
var avg1 = FormulaUtils.commFun.
|
|
18953
|
+
var avg1 = FormulaUtils.commFun.getAverage(arr); //剔除后的平均值
|
|
18954
18954
|
if (bzc1 <= 5) {
|
|
18955
18955
|
avg = avg1;
|
|
18956
18956
|
}
|