Skip to content

Commit

Permalink
add bounds in Exp #526
Browse files Browse the repository at this point in the history
  • Loading branch information
walterxie committed Sep 25, 2024
1 parent 7536c0d commit 7e609f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lphy-base/src/main/java/lphy/base/distribution/Exp.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public void setParam(String paramName, Value value) {

@Override
public Double[] getDomainBounds() {
throw new UnsupportedOperationException("TODO");
return new Double[]{0.0, Double.POSITIVE_INFINITY};
}

public double getMean() {
Expand Down

0 comments on commit 7e609f0

Please sign in to comment.