From commits-return-13429-apmail-sis-commits-archive=sis.apache.org@sis.apache.org Fri Apr 3 16:39:19 2020 Return-Path: X-Original-To: apmail-sis-commits-archive@www.apache.org Delivered-To: apmail-sis-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by minotaur.apache.org (Postfix) with SMTP id 029CD19CCE for ; Fri, 3 Apr 2020 16:39:18 +0000 (UTC) Received: (qmail 10509 invoked by uid 500); 3 Apr 2020 16:39:18 -0000 Delivered-To: apmail-sis-commits-archive@sis.apache.org Received: (qmail 10487 invoked by uid 500); 3 Apr 2020 16:39:18 -0000 Mailing-List: contact commits-help@sis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: sis-dev@sis.apache.org Delivered-To: mailing list commits@sis.apache.org Received: (qmail 10477 invoked by uid 99); 3 Apr 2020 16:39:18 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Apr 2020 16:39:18 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id F0476819F7; Fri, 3 Apr 2020 16:39:17 +0000 (UTC) Date: Fri, 03 Apr 2020 16:39:17 +0000 To: "commits@sis.apache.org" Subject: [sis] branch geoapi-4.0 updated: Checkstyle correction. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <158593195775.15168.4144310893582011228@gitbox.apache.org> From: desruisseaux@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: sis X-Git-Refname: refs/heads/geoapi-4.0 X-Git-Reftype: branch X-Git-Oldrev: 82ea59b32a1e163a0c9b44b6bc5d7e80c2f2da86 X-Git-Newrev: 6d07eb4536603853d7b4ded8adef47de5341f4c6 X-Git-Rev: 6d07eb4536603853d7b4ded8adef47de5341f4c6 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated This is an automated email from the ASF dual-hosted git repository. desruisseaux pushed a commit to branch geoapi-4.0 in repository https://gitbox.apache.org/repos/asf/sis.git The following commit(s) were added to refs/heads/geoapi-4.0 by this push: new 6d07eb4 Checkstyle correction. 6d07eb4 is described below commit 6d07eb4536603853d7b4ded8adef47de5341f4c6 Author: Martin Desruisseaux AuthorDate: Fri Apr 3 18:39:04 2020 +0200 Checkstyle correction. --- .../src/main/java/org/apache/sis/image/ResamplingGrid.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/sis-feature/src/main/java/org/apache/sis/image/ResamplingGrid.java b/core/sis-feature/src/main/java/org/apache/sis/image/ResamplingGrid.java index f74aec3..4f6df17 100644 --- a/core/sis-feature/src/main/java/org/apache/sis/image/ResamplingGrid.java +++ b/core/sis-feature/src/main/java/org/apache/sis/image/ResamplingGrid.java @@ -191,10 +191,10 @@ final class ResamplingGrid extends AbstractMathTransform2D { final int p11 = p10 + DIMENSION; final double mx = 1 - x; final double my = 1 - y; - dstPts[dstOff++] = my * (mx*coordinates[p00 ] + x*coordinates[p01 ]) - + y * (mx*coordinates[p10 ] + x*coordinates[p11 ]); - dstPts[dstOff++] = my * (mx*coordinates[p00|1] + x*coordinates[p01|1]) - + y * (mx*coordinates[p10|1] + x*coordinates[p11|1]); + dstPts[dstOff++] = my * (mx*coordinates[p00 ] + x*coordinates[p01 ]) + + y * (mx*coordinates[p10 ] + x*coordinates[p11 ]); + dstPts[dstOff++] = my * (mx*coordinates[p00 | 1] + x*coordinates[p01 | 1]) + + y * (mx*coordinates[p10 | 1] + x*coordinates[p11 | 1]); /* * Note: the |1 above is a cheap way to compute +1 when all `p` indices * are known to be even. This is true because `DIMENSION` is even.