more generic edo*Binomial* code

This commit is contained in:
Johann Dreo 2013-03-07 20:32:21 +01:00
commit fb4ffd2954
3 changed files with 12 additions and 15 deletions

View file

@ -43,7 +43,7 @@ class edoSamplerBinomial : public edoSampler<D>
public:
edoSamplerBinomial() : edoSampler<D>() {}
EOT sample( edoBinomial<EOT>& distrib )
EOT sample( D& distrib )
{
unsigned int size = distrib.size();
assert(size > 0);