xo-ratio: rename reduce() -> normalize()

This commit is contained in:
Roland Conybeare 2024-04-19 07:17:36 -04:00
commit a0eda881a6
2 changed files with 4 additions and 4 deletions

View file

@ -32,7 +32,7 @@ namespace xo {
Int den_sign = sign_dist_(rng) ? -1 : +1;
Int den = den_sign * (1 + int_dist_(rng));
return xo::ratio::ratio(num, den).reduce();
return xo::ratio::ratio(num, den).normalize();
}
template <typename Rng>