Issue #1425 make contouring handle NaN better.
Former-commit-id:a1bda65a85
[formerly1588e1b194
] [formerlya1bda65a85
[formerly1588e1b194
] [formerlyb4f100da04
[formerly c090b012a6fafb8816f0c17c1af6f14774f08d83]]] Former-commit-id:b4f100da04
Former-commit-id:a7c1e74ac2
[formerly06ae24cf4f
] Former-commit-id:45d4ef7ea5
This commit is contained in:
parent
cec63c30c7
commit
8af25f1870
1 changed files with 1 additions and 1 deletions
|
@ -364,7 +364,7 @@ public class ContourSupport {
|
|||
float min = Float.POSITIVE_INFINITY;
|
||||
float max = Float.NEGATIVE_INFINITY;
|
||||
for (float f : data1D) {
|
||||
if (f != Util.GRID_FILL_VALUE) {
|
||||
if (f != Util.GRID_FILL_VALUE && !Float.isNaN(f)) {
|
||||
min = Math.min(min, f);
|
||||
max = Math.max(max, f);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue