mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-05 21:24:27 +02:00
fix: clang compilation of inverse
fixed
This commit is contained in:
@@ -281,7 +281,7 @@ template<Unit auto To, auto R, typename Rep>
|
|||||||
value_cast<To>(1 / q);
|
value_cast<To>(1 / q);
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
return (quantity_values<Rep>::one() * one).force_in(To * q.unit) / q;
|
return (quantity_values<Rep>::one() * one).force_in(To * quantity<R, Rep>::unit) / q;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user