Quiet MSVC.

This commit is contained in:
Hauke Heibel 2010-05-04 14:06:41 +02:00
parent 38021b08c1
commit 6ea6276f20

View File

@ -854,7 +854,7 @@ template<> struct ei_random_impl<bool>
{
static inline bool run()
{
return bool(ei_random<int>(0,1));
return ei_random<int>(0,1)==0 ? false : true;
};
};