Skip to content

Commit

Permalink
Fix BernoulliSampler to respect complement
Browse files Browse the repository at this point in the history
  • Loading branch information
holdenk committed Apr 9, 2014
1 parent a751ec6 commit 08f8e4d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class BernoulliSampler[T](lb: Double, ub: Double, complement: Boolean = false)
}
}

override def clone = new BernoulliSampler[T](lb, ub)
override def clone = new BernoulliSampler[T](lb, ub, complement)
}

/**
Expand Down

0 comments on commit 08f8e4d

Please sign in to comment.