mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2024-12-23 21:25:49 +00:00
fix xor_combine::max
This commit is contained in:
parent
a32b1c7c00
commit
fc1d4421fd
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ namespace sprout {
|
|||
return NS_SSCRISK_CEL_OR_SPROUT::min(rng1_.min(), rng2_.min());
|
||||
}
|
||||
SPROUT_CONSTEXPR result_type max() const SPROUT_NOEXCEPT {
|
||||
return NS_SSCRISK_CEL_OR_SPROUT::max(rng1_.max(), rng2_.max());
|
||||
return NS_SSCRISK_CEL_OR_SPROUT::max(rng1_.min(), rng2_.max());
|
||||
}
|
||||
SPROUT_CXX14_CONSTEXPR result_type operator()() {
|
||||
return (static_cast<result_type>(rng1_()) << s1) ^ (static_cast<result_type>(rng2_()) << s2);
|
||||
|
|
Loading…
Reference in a new issue