We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61b5f6b commit 7657886Copy full SHA for 7657886
src/main/java/edu/ucsd/msjava/params/FloatParameter.java
@@ -13,6 +13,11 @@ public String parse(String value) {
13
try {
14
super.value = Float.valueOf(value);
15
16
+ if (minValue == null)
17
+ minValue = Float.NEGATIVE_INFINITY;
18
+
19
+ if (maxValue == null)
20
+ maxValue = Float.POSITIVE_INFINITY;
21
22
String range = getValidRange();
23
if (this.value < minValue || this.value > maxValue ||
0 commit comments