xo-unit: rename scaled_unit o/load of rescale() -> rescale_ext()

This commit is contained in:
Roland Conybeare 2024-05-03 21:36:51 -04:00
commit 4263144614
3 changed files with 3 additions and 3 deletions

View file

@ -43,7 +43,7 @@ main () {
static_assert(a.scale() == 0.625);
static_assert(a.abbrev() == flatstring("km.min^-2"));
constexpr auto a2 = a.rescale<(su::meter / (su::second * su::second))>();
constexpr auto a2 = a.rescale_ext<(su::meter / (su::second * su::second))>();
cerr << "d.t^-2: " << a2 << endl;