Issue #1425 make contouring handle NaN better.
Former-commit-id:0890a0d5ef
[formerlya1bda65a85
] [formerly1588e1b194
] [formerly0890a0d5ef
[formerlya1bda65a85
] [formerly1588e1b194
] [formerlyb4f100da04
[formerly1588e1b194
[formerly c090b012a6fafb8816f0c17c1af6f14774f08d83]]]] Former-commit-id:b4f100da04
Former-commit-id:d8c38ca001
[formerlya7c1e74ac2
] [formerly 3fa986665c1a6afc6f6f8b89446a6dd262195d4f [formerly06ae24cf4f
]] Former-commit-id: 37495d1bb0377bd951a8b1899457f71d6418bffe [formerly45d4ef7ea5
] Former-commit-id:8af25f1870
This commit is contained in:
parent
a78970da48
commit
d66d85e346
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