Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jmacd committed Nov 23, 2019
1 parent d2bfbc8 commit be3c37a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions varopt.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ func (s *Varopt) Reset() {
}

// Add considers a new observation for the sample with given weight.
// If there is an item ejected from the same as a result, the item is
// returned.
// If there is an item ejected from the sample as a result, the item
// is returned to allow re-use of memory.
//
// An error will be returned if the weight is either negative or NaN.
func (s *Varopt) Add(sample Sample, weight float64) (Sample, error) {
Expand Down

0 comments on commit be3c37a

Please sign in to comment.