Merge branch 'develop' into feature/JAL-3551Pymol
[jalview.git] / src / jalview / datamodel / features / FeatureAttributes.java
index c15650d..bcf404b 100644 (file)
@@ -130,8 +130,8 @@ public class FeatureAttributes
           try
           {
             float f = Float.valueOf(value);
-            min = hasValue ? Float.min(min, f) : f;
-            max = hasValue ? Float.max(max, f) : f;
+            min = hasValue ? Math.min(min, f) : f;
+            max = hasValue ? Math.max(max, f) : f;
             hasValue = true;
             type = (type == null || type == Datatype.Number)
                     ? Datatype.Number