From d784ea2eb6de7278fb76cc3c2fc326deff27d002 Mon Sep 17 00:00:00 2001 From: Luc Maisonobe Date: Sun, 19 Aug 2007 16:15:02 +0000 Subject: [PATCH] fixed a missing initialization git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@567420 13f79535-47bb-0310-9956-ffa450edef68 --- .../commons/math/estimation/SimpleEstimationProblem.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/java/org/apache/commons/math/estimation/SimpleEstimationProblem.java b/src/java/org/apache/commons/math/estimation/SimpleEstimationProblem.java index b0e121dca..a5df84b72 100644 --- a/src/java/org/apache/commons/math/estimation/SimpleEstimationProblem.java +++ b/src/java/org/apache/commons/math/estimation/SimpleEstimationProblem.java @@ -41,7 +41,8 @@ public class SimpleEstimationProblem implements EstimationProblem { * Build an empty instance without parameters nor measurements. */ public SimpleEstimationProblem() { - parameters = new ArrayList(); + parameters = new ArrayList(); + measurements = new ArrayList(); } public EstimatedParameter[] getAllParameters() {