xo-unit: rename scaled_unit o/load of rescale() -> rescale_ext()
This commit is contained in:
parent
f3e75cc634
commit
4263144614
3 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue