git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
JAL-1819 use Float.isNaN() to check for NaNs!
[jalview.git]
/
src
/
jalview
/
io
/
SequenceAnnotationReport.java
diff --git
a/src/jalview/io/SequenceAnnotationReport.java
b/src/jalview/io/SequenceAnnotationReport.java
index
7c96d45
..
6d8ce5f
100644
(file)
--- a/
src/jalview/io/SequenceAnnotationReport.java
+++ b/
src/jalview/io/SequenceAnnotationReport.java
@@
-152,7
+152,7
@@
public class SequenceAnnotationReport
}
}
// check score should be shown
- if (feature.getScore() != Float.NaN)
+ if (!Float.isNaN(feature.getScore()))
{
float[][] rng = (minmax == null) ? null : ((float[][]) minmax
.get(feature.getType()));