This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits 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 804679a1d7 fix(Delaunay): fix copy/paste error
804679a1d7 is described below
commit 804679a1d7c69784752f7218aed899e63ff51950
Author: jsorel <[email protected]>
AuthorDate: Wed Oct 28 09:17:21 2026 +0100
fix(Delaunay): fix copy/paste error
---
.../apache/sis/geometries/operation/triangulate/delaunay/Delaunay.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/incubator/src/org.apache.sis.geometry/main/org/apache/sis/geometries/operation/triangulate/delaunay/Delaunay.java
b/incubator/src/org.apache.sis.geometry/main/org/apache/sis/geometries/operation/triangulate/delaunay/Delaunay.java
index 6183d90a1d..924a97a0d7 100644
---
a/incubator/src/org.apache.sis.geometry/main/org/apache/sis/geometries/operation/triangulate/delaunay/Delaunay.java
+++
b/incubator/src/org.apache.sis.geometry/main/org/apache/sis/geometries/operation/triangulate/delaunay/Delaunay.java
@@ -349,7 +349,7 @@ public final class Delaunay {
} else {
final Array index = points.getIndex();
if (index == null) {
- for (long l = 0; l < index.getLength(); l++) {
+ for (long l = 0; l < positions.getLength(); l++) {
insertPoint(l);
}
} else {