Skip to content

Commit dd47c56

Browse files
committed
Remove generation of C/C++ header files (not used anymore after removal of "sis-gdal" module).
More paranoiac check for rounding errors in `normalizeColumns()`.
1 parent c7abe0f commit dd47c56

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/matrix/MatrixSIS.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ public MatrixSIS normalizeColumns() {
447447
dot.setFrom(sum);
448448
dot.inverseDivide(tmp);
449449
set(j, i, dot);
450-
if (Math.abs(dot.doubleValue()) == 1) {
450+
if (Math.abs(dot.doubleValue()) >= 1) {
451451
rowOfOne = j;
452452
}
453453
}

pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,6 @@
670670
<compilerArgs>
671671
<arg>-Xlint:all</arg>
672672
<arg>-Xdoclint:syntax,html,missing/protected,accessibility/protected</arg>
673-
<arg>-h</arg> <arg>${project.build.sourceDirectory}/../c</arg>
674673
</compilerArgs>
675674
</configuration>
676675
</plugin>

0 commit comments

Comments
 (0)