From acdd9f280588c8fee7efa9284f312262b43739a9 Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Mon, 25 Jan 2010 19:09:17 +0000 Subject: [PATCH] Fix typo in copy() code git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@902934 13f79535-47bb-0310-9956-ffa450edef68 --- .../commons/math/stat/descriptive/moment/FirstMoment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/math/stat/descriptive/moment/FirstMoment.java b/src/main/java/org/apache/commons/math/stat/descriptive/moment/FirstMoment.java index 0017e27ec..195d0005b 100644 --- a/src/main/java/org/apache/commons/math/stat/descriptive/moment/FirstMoment.java +++ b/src/main/java/org/apache/commons/math/stat/descriptive/moment/FirstMoment.java @@ -154,6 +154,6 @@ public class FirstMoment extends AbstractStorelessUnivariateStatistic dest.n = source.n; dest.m1 = source.m1; dest.dev = source.dev; - dest.nDev = dest.nDev; + dest.nDev = source.nDev; } }