From 8aec465b44dedb7deacf80111ea5286914093094 Mon Sep 17 00:00:00 2001 From: Gilles Date: Thu, 20 Nov 2014 12:56:22 +0100 Subject: [PATCH] Clirr error Return type cannot be changed (binary compatibility between minor releases). --- .../math3/fitting/leastsquares/LeastSquaresFactory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 aa3be8ef0..d483c26ca 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); }