Skip to content

Commit

Permalink
stat/distuv: correct Gamma Mode doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
argusdusty authored and kortschak committed Jun 12, 2024
1 parent 35bb474 commit 1dd194f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stat/distuv/gamma.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (g Gamma) Mean() float64 {
return g.Alpha / g.Beta
}

// Mode returns the mode of the normal distribution.
// Mode returns the mode of the gamma distribution.
//
// The mode is 0 in the special case where the Alpha (shape) parameter
// is less than 1.
Expand Down

0 comments on commit 1dd194f

Please sign in to comment.