Skip to content

Commit

Permalink
fixed files form Math #95
Browse files Browse the repository at this point in the history
  • Loading branch information
tdurieux committed Mar 7, 2017
1 parent 5f2b113 commit 1cac000
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,12 @@ protected double getDomainUpperBound(double p) {
* @return initial domain value
*/
protected double getInitialDomain(double p) {
double ret;
double ret = 1.0;
double d = getDenominatorDegreesOfFreedom();
if (d > 2.0) {
// use mean
ret = d / (d - 2.0);
}
return ret;
}

Expand Down

0 comments on commit 1cac000

Please sign in to comment.