Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 74A5F200D65 for ; Mon, 25 Dec 2017 10:43:51 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 73B02160C32; Mon, 25 Dec 2017 09:43:51 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C2D45160C30 for ; Mon, 25 Dec 2017 10:43:50 +0100 (CET) Received: (qmail 32815 invoked by uid 500); 25 Dec 2017 09:43:49 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 32671 invoked by uid 99); 25 Dec 2017 09:43:49 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Dec 2017 09:43:49 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 1FB62DFF72; Mon, 25 Dec 2017 09:43:49 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: erans@apache.org To: commits@commons.apache.org Date: Mon, 25 Dec 2017 09:43:51 -0000 Message-Id: <2ccc93815c444996bad533022decc013@git.apache.org> In-Reply-To: <0d061e315dc34b70ba33e6f81640798e@git.apache.org> References: <0d061e315dc34b70ba33e6f81640798e@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [3/6] [math] No tabs. archived-at: Mon, 25 Dec 2017 09:43:51 -0000 No tabs. Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/a61fde99 Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/a61fde99 Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/a61fde99 Branch: refs/heads/master Commit: a61fde99657c1b9d11e8eaa682181ea59e65814b Parents: 3b7deb9 Author: Gilles Authored: Mon Dec 25 10:00:36 2017 +0100 Committer: Gilles Committed: Mon Dec 25 10:00:36 2017 +0100 ---------------------------------------------------------------------- .../math4/geometry/euclidean/oned/SubOrientedPoint.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-math/blob/a61fde99/src/main/java/org/apache/commons/math4/geometry/euclidean/oned/SubOrientedPoint.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/math4/geometry/euclidean/oned/SubOrientedPoint.java b/src/main/java/org/apache/commons/math4/geometry/euclidean/oned/SubOrientedPoint.java index 641d73e..b6c90e9 100644 --- a/src/main/java/org/apache/commons/math4/geometry/euclidean/oned/SubOrientedPoint.java +++ b/src/main/java/org/apache/commons/math4/geometry/euclidean/oned/SubOrientedPoint.java @@ -59,12 +59,12 @@ public class SubOrientedPoint extends AbstractSubHyperplane split(final Hyperplane hyperplane) { - final OrientedPoint thisHyperplane = (OrientedPoint) getHyperplane(); - final double global = hyperplane.getOffset(thisHyperplane.getLocation()); - - // use the tolerance value from our parent hyperplane to determine equality + final OrientedPoint thisHyperplane = (OrientedPoint) getHyperplane(); + final double global = hyperplane.getOffset(thisHyperplane.getLocation()); + + // use the tolerance value from our parent hyperplane to determine equality final double tolerance = thisHyperplane.getTolerance(); - + if (global < -tolerance) { return new SplitSubHyperplane(null, this); } else if (global > tolerance) {