mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-03 12:24:26 +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);
|
||||
}
|
||||
{
|
||||
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