Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
qicosmos committed Jul 24, 2023
1 parent 7a1a0b7 commit 3c4f994
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/frozen/random.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ class linear_congruential_engine {
// constexpr void discard(unsigned long long n) {
// while (n--) operator()();
// }
static constexpr result_type min() { return increment == 0u ? 1u : 0u; }
static constexpr result_type max() { return modulus - 1u; }
// static constexpr result_type min() { return increment == 0u ? 1u : 0u; }
// static constexpr result_type max() { return modulus - 1u; }
friend constexpr bool operator==(linear_congruential_engine const &self,
linear_congruential_engine const &other) {
return self.state_ == other.state_;
Expand Down

0 comments on commit 3c4f994

Please sign in to comment.