Skip to content

Commit

Permalink
Corrected a variable name. It should not be rake; it should be mag.
Browse files Browse the repository at this point in the history
  • Loading branch information
larsbutler committed Feb 28, 2012
1 parent b767fb8 commit d38ee87
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ public double getStdDev(){
return getStdDev(iper, rake, stdDevType);
}

public double getStdDev(int iper, double rake, String stdDevType){
double std = super.getStdDev(iper, rake, stdDevType);
public double getStdDev(int iper, double mag, String stdDevType){
double std = super.getStdDev(iper, mag, stdDevType);
return std * AdjustFactorsSHARE.sig_AFrock_CAMBPELL2003[iper];
}

Expand Down

0 comments on commit d38ee87

Please sign in to comment.