mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-01-30 17:40:05 +08:00
Quiet MSVC.
This commit is contained in:
parent
38021b08c1
commit
6ea6276f20
@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user