xo-ratio: rename reduce() -> normalize()
This commit is contained in:
parent
3b7a3149a5
commit
a0eda881a6
2 changed files with 4 additions and 4 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue