mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Quiet MSVC.
This commit is contained in:
@@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user