You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2018/08/29 00:15:53 UTC
[2/4] [math] Formatting.
Formatting.
Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/b3fb9a1f
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/b3fb9a1f
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/b3fb9a1f
Branch: refs/heads/master
Commit: b3fb9a1f6a5b2ce13f83fa9aee277abc1781461e
Parents: c89916c
Author: Gilles <er...@apache.org>
Authored: Tue Aug 28 20:12:33 2018 +0200
Committer: Gilles <er...@apache.org>
Committed: Tue Aug 28 20:12:33 2018 +0200
----------------------------------------------------------------------
.../commons/math4/fitting/leastsquares/LeastSquaresFactory.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-math/blob/b3fb9a1f/src/main/java/org/apache/commons/math4/fitting/leastsquares/LeastSquaresFactory.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/fitting/leastsquares/LeastSquaresFactory.java b/src/main/java/org/apache/commons/math4/fitting/leastsquares/LeastSquaresFactory.java
index 145ec86..8c0db8a 100644
--- a/src/main/java/org/apache/commons/math4/fitting/leastsquares/LeastSquaresFactory.java
+++ b/src/main/java/org/apache/commons/math4/fitting/leastsquares/LeastSquaresFactory.java
@@ -328,8 +328,7 @@ public class LeastSquaresFactory {
final double[] p = point.toArray();
// Evaluate.
- return new Pair<>(computeValue(p),
- computeJacobian(p));
+ return new Pair<>(computeValue(p), computeJacobian(p));
}
/** {@inheritDoc} */