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.esm.js
CHANGED
|
@@ -18919,7 +18919,7 @@ const FormulaUtils = {
|
|
|
18919
18919
|
}
|
|
18920
18920
|
let bzc = retData.allCellVals[retData.allCellVals.length - 1];
|
|
18921
18921
|
var avg;
|
|
18922
|
-
avg = FormulaUtils.commFun.
|
|
18922
|
+
avg = FormulaUtils.commFun.getAverage(arr);
|
|
18923
18923
|
if (bzc <= 5) {
|
|
18924
18924
|
return avg;
|
|
18925
18925
|
}
|
|
@@ -18928,7 +18928,7 @@ const FormulaUtils = {
|
|
|
18928
18928
|
arr.shift(); // 删除首元素
|
|
18929
18929
|
arr.pop(); // 删除尾元素
|
|
18930
18930
|
var bzc1 = FormulaUtils.commFun.GetS(arr); //剔除后的标准差
|
|
18931
|
-
var avg1 = FormulaUtils.commFun.
|
|
18931
|
+
var avg1 = FormulaUtils.commFun.getAverage(arr); //剔除后的平均值
|
|
18932
18932
|
if (bzc1 <= 5) {
|
|
18933
18933
|
avg = avg1;
|
|
18934
18934
|
}
|