Skip to content

Commit

Permalink
Merge pull request #460 from pmpowers-usgs/hawaii-mmax
Browse files Browse the repository at this point in the history
now taking min of gr and csv mMax
  • Loading branch information
pmpowers-usgs authored Jan 19, 2021
2 parents 57b173a + cca1165 commit ac25668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gov/usgs/earthquake/nshmp/eq/model/MfdHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ private GR_Data(Attributes atts, GR_Data ref) {
mMin = readDouble(M_MIN, atts);
break;
case M_MAX:
mMax = readDouble(M_MAX, atts);
mMax = Math.min(mMax, readDouble(M_MAX, atts));
break;
case WEIGHT:
weight = readDouble(WEIGHT, atts);
Expand Down

0 comments on commit ac25668

Please sign in to comment.