Skip to content

Commit 55e6c11

Browse files
committed
publish 5.3.1
1 parent ee126f7 commit 55e6c11

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "labkar-algorithms",
3-
"version": "5.0.0",
3+
"version": "5.3.1",
44
"description": "Labkar Algorithms",
55
"main": "dist/lib.js",
66
"author": "ODTÜ PAL",

src/homogenity/index.ts

+5-3
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ export function homogenity(results: HomogenityTestResult[], r: number) {
2929
if (results[0].values.length !== 2) {
3030
throw new Error(
3131
'We currently only support two values per test. You provided ' +
32-
results[0].values.length +
33-
' values.'
32+
results[0].values.length +
33+
' values.'
3434
);
3535
}
3636

@@ -43,7 +43,7 @@ export function homogenity(results: HomogenityTestResult[], r: number) {
4343
deltaPow: Math.pow(Math.abs(result.values[0] - result.values[1]), 2),
4444
}));
4545

46-
const xAvg = average(enrichedResults.map((r) => r.avg))
46+
const xAvg = average(enrichedResults.map((r) => r.avg));
4747

4848
const sd = round(
4949
sampleStandardDeviation(enrichedResults.map((r) => r.avg)),
@@ -78,6 +78,8 @@ export function homogenity(results: HomogenityTestResult[], r: number) {
7878
sw,
7979
ss2,
8080
ss,
81+
fValues,
82+
sigmaAllow2,
8183
c,
8284
cSqrt,
8385
homogenity,

0 commit comments

Comments
 (0)