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 <er...@apache.org> Authored: Thu Nov 20 12:56:22 2014 +0100 Committer: Gilles <er...@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); }