You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sis.apache.org by de...@apache.org on 2020/04/03 16:39:17 UTC
[sis] branch geoapi-4.0 updated: Checkstyle correction.
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 <ma...@geomatys.com>
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.