diff --git a/eo/src/utils/eoRNG.h b/eo/src/utils/eoRNG.h index 23584746..849de003 100644 --- a/eo/src/utils/eoRNG.h +++ b/eo/src/utils/eoRNG.h @@ -151,7 +151,7 @@ public : flip() tosses a biased coin such that flip(x/100.0) will returns true x% of the time */ - bool flip(float bias) + bool flip(float bias=0.5) { return uniform() < bias; }