commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r567420 - /commons/proper/math/trunk/src/java/org/apache/commons/math/estimation/SimpleEstimationProblem.java
Date Sun, 19 Aug 2007 16:15:03 GMT
Author: luc
Date: Sun Aug 19 09:15:02 2007
New Revision: 567420

URL: http://svn.apache.org/viewvc?view=rev&rev=567420
Log:
fixed a missing initialization

Modified:
    commons/proper/math/trunk/src/java/org/apache/commons/math/estimation/SimpleEstimationProblem.java

Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/estimation/SimpleEstimationProblem.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/estimation/SimpleEstimationProblem.java?view=diff&rev=567420&r1=567419&r2=567420
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/estimation/SimpleEstimationProblem.java
(original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/estimation/SimpleEstimationProblem.java
Sun Aug 19 09:15:02 2007
@@ -41,7 +41,8 @@
      * Build an empty instance without parameters nor measurements.
      */
     public SimpleEstimationProblem() {
-        parameters = new ArrayList();
+        parameters   = new ArrayList();
+        measurements = new ArrayList();
     }
 
     public EstimatedParameter[] getAllParameters() {



Mime
View raw message