Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
zroug committed Jan 24, 2019
1 parent 226ed82 commit f6f1010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/distributions/weighted.rs
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ impl AliasMethodWeightedIndex {

let mut aliases = Aliases::new(n);

// Split indices into those with small weights and those with big eights.
// Split indices into those with small weights and those with big weights.
for (index, &odds) in no_alias_odds.iter().enumerate() {
if odds < 1.0 {
aliases.push_small(index);
Expand Down

0 comments on commit f6f1010

Please sign in to comment.