Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Maru32768 committed Jan 20, 2022
1 parent a4ed656 commit 1598dbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class DoubleValue extends NumericValue<Double> {
private transient boolean writable = true;

public DoubleValue(Double value) {
this(value, Double.MIN_VALUE, Double.MAX_VALUE);
this(value, -Double.MAX_VALUE, Double.MAX_VALUE);
}

public DoubleValue(Double value, Double min, Double max) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class FloatValue extends NumericValue<Float> {
private transient boolean writable = true;

public FloatValue(Float value) {
this(value, Float.MIN_VALUE, Float.MAX_VALUE);
this(value, -Float.MAX_VALUE, Float.MAX_VALUE);
}

public FloatValue(Float value, Float min, Float max) {
Expand Down

0 comments on commit 1598dbf

Please sign in to comment.