commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject [2/2] [math] Clirr error
Date Sun, 23 Nov 2014 18:08:57 GMT
Clirr error

Return type cannot be changed (binary compatibility between minor releases).


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

Branch: refs/heads/master
Commit: 8aec465b44dedb7deacf80111ea5286914093094
Parents: f8a8ea7
Author: Gilles <erans@apache.org>
Authored: Thu Nov 20 12:56:22 2014 +0100
Committer: Gilles <erans@apache.org>
Committed: Thu Nov 20 12:56:22 2014 +0100

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


http://git-wip-us.apache.org/repos/asf/commons-math/blob/8aec465b/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 aa3be8e..d483c26 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
@@ -290,8 +290,8 @@ public class LeastSquaresFactory {
      * @param jacobian the Jacobian function
      * @return a function that computes both at the same time
      */
-    public static ValueAndJacobianFunction model(final MultivariateVectorFunction value,
-                                                 final MultivariateMatrixFunction jacobian)
{
+    public static MultivariateJacobianFunction model(final MultivariateVectorFunction value,
+                                                     final MultivariateMatrixFunction jacobian)
{
         return new LocalValueAndJacobianFunction(value, jacobian);
     }
 


Mime
View raw message