refactor: zeroth_degree_Fahrenheit definition simplified

This commit is contained in:
Mateusz Pusz
2024-05-16 12:33:28 +02:00
parent ecb39d79c0
commit 5dc21fd29b
2 changed files with 2 additions and 2 deletions

View File

@ -403,7 +403,7 @@ inline constexpr struct zeroth_degree_Celsius : decltype(ice_point) {} zeroth_de
namespace usc {
inline constexpr struct zeroth_degree_Fahrenheit :
relative_point_origin<si::zeroth_degree_Celsius - 32 * (mag_ratio<5, 9> * si::degree_Celsius)> {} zeroth_degree_Fahrenheit;
relative_point_origin<quantity_point{-32 * (mag_ratio<5, 9> * si::degree_Celsius)}> {} zeroth_degree_Fahrenheit;
}
```