Skip to content

Commit 02b8ddf

Browse files
committed
changed value to compare to missingFloat variable
1 parent 735bfa6 commit 02b8ddf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/processing/data/Table.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4819,7 +4819,7 @@ protected float getMaxFloat() {
48194819
for (int row = 0; row < getRowCount(); row++) {
48204820
for (int col = 0; col < getColumnCount(); col++) {
48214821
float value = getFloat(row, col);
4822-
if (!Float.isNaN(value)) { // TODO no, this should be comparing to the missing value
4822+
if (Float.compare(value, missingFloat) != 0) { //value now compares to missingFloat variable
48234823
if (!found) {
48244824
max = value;
48254825
found = true;

0 commit comments

Comments
 (0)