fix: clang compilation of inverse fixed
This commit is contained in:
1 parent
833851d1cb
commit
06e4548dc9
1 file changed
+1
-1
@@ -281,7 +281,7 @@ template<Unit auto To, auto R, typename Rep>
|
||||
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