You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by lu...@apache.org on 2014/11/03 21:16:42 UTC

git commit: Fixed checkstyle warnings.

Repository: commons-math
Updated Branches:
  refs/heads/master ed565027c -> cd28a018f


Fixed checkstyle warnings.

Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/cd28a018
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/cd28a018
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/cd28a018

Branch: refs/heads/master
Commit: cd28a018fb327d38a30c502bedca66cffb26f271
Parents: ed56502
Author: Luc Maisonobe <lu...@apache.org>
Authored: Mon Nov 3 21:16:08 2014 +0100
Committer: Luc Maisonobe <lu...@apache.org>
Committed: Mon Nov 3 21:16:08 2014 +0100

----------------------------------------------------------------------
 .../commons/math3/fitting/leastsquares/LeastSquaresFactory.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-math/blob/cd28a018/src/main/java/org/apache/commons/math3/fitting/leastsquares/LeastSquaresFactory.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math3/fitting/leastsquares/LeastSquaresFactory.java b/src/main/java/org/apache/commons/math3/fitting/leastsquares/LeastSquaresFactory.java
index 1a92ac9..aa3be8e 100644
--- a/src/main/java/org/apache/commons/math3/fitting/leastsquares/LeastSquaresFactory.java
+++ b/src/main/java/org/apache/commons/math3/fitting/leastsquares/LeastSquaresFactory.java
@@ -51,6 +51,7 @@ public class LeastSquaresFactory {
      * @param model          the model function. Produces the computed values.
      * @param observed       the observed (target) values
      * @param start          the initial guess.
+     * @param weight         the weight matrix
      * @param checker        convergence checker
      * @param maxEvaluations the maximum number of times to evaluate the model
      * @param maxIterations  the maximum number to times to iterate in the algorithm
@@ -74,7 +75,7 @@ public class LeastSquaresFactory {
                                                                    observed,
                                                                    start,
                                                                    checker,
-                                                                   maxEvaluations, 
+                                                                   maxEvaluations,
                                                                    maxIterations,
                                                                    lazyEvaluation,
                                                                    paramValidator);