This is an automated email from the ASF dual-hosted git repository.
aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-statistics.git
The following commit(s) were added to refs/heads/master by this push:
new d6eb4c4 Use dev in place of (nDev * n)
d6eb4c4 is described below
commit d6eb4c4903f750f6701aadb86134694bed35c8dc
Author: Alex Herbert <[email protected]>
AuthorDate: Wed Dec 27 23:58:05 2023 +0000
Use dev in place of (nDev * n)
---
.../apache/commons/statistics/descriptive/SumOfFourthDeviations.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/SumOfFourthDeviations.java
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/SumOfFourthDeviations.java
index 8b4081f..23f118c 100644
---
a/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/SumOfFourthDeviations.java
+++
b/commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/SumOfFourthDeviations.java
@@ -158,7 +158,7 @@ class SumOfFourthDeviations extends SumOfCubedDeviations {
sumFourthDev = sumFourthDev -
sc * nDev * 8 +
ss * nDev * nDev * 24 +
- np * (np1 * np1 - 3 * np) * nDev * nDev * nDev * nDev * np1 * 16;
+ np * (np1 * np1 - 3 * np) * nDev * nDev * nDev * dev * 16;
}
/**