From 294e9ec83f0ee1ade358e68dd794fc76062c30b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gilles=20Roudi=C3=A8re?= Date: Thu, 17 Jan 2019 14:54:36 +0100 Subject: [PATCH] Fixes zscore epsilon not initialized --- .../java/org/openimaj/math/statistics/normalisation/ZScore.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/core-math/src/main/java/org/openimaj/math/statistics/normalisation/ZScore.java b/core/core-math/src/main/java/org/openimaj/math/statistics/normalisation/ZScore.java index b04bc86ffe..2182b4bb63 100644 --- a/core/core-math/src/main/java/org/openimaj/math/statistics/normalisation/ZScore.java +++ b/core/core-math/src/main/java/org/openimaj/math/statistics/normalisation/ZScore.java @@ -59,6 +59,7 @@ public ZScore() { * divided by sqrt(var + eps). */ public ZScore(double eps) { + this.eps = eps; } @Override