Skip to content

Commit

Permalink
Another missing change to conform to the major commit made recently
Browse files Browse the repository at this point in the history
  • Loading branch information
jk-jeon committed Mar 28, 2024
1 parent b50331f commit 0ccaad5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subproject/common/include/random_float.h
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ Float randomly_generate_float_with_given_digits(unsigned int digits, RandGen& rg
using signed_int_t = std::make_signed_t<carrier_uint>;

assert(digits >= 1);
assert(digits <= ieee754_traits::format::decimal_digits);
assert(digits <= conversion_traits::format::decimal_digits);

// Generate sign uniformly randomly
signed_int_t sign = std::uniform_int_distribution<signed_int_t>{0, 1}(rg) == 0 ? 1 : -1;
Expand Down

0 comments on commit 0ccaad5

Please sign in to comment.