From d3ad78a9dd3e56fd458d7b5f4018a3317ead646c Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Wed, 18 Oct 2023 16:34:39 +0200 Subject: [PATCH] fix: Fahrenheit conversion ratio was inverted --- src/systems/usc/include/mp-units/systems/usc/usc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/systems/usc/include/mp-units/systems/usc/usc.h b/src/systems/usc/include/mp-units/systems/usc/usc.h index 98c1ea419..31d35c5b6 100644 --- a/src/systems/usc/include/mp-units/systems/usc/usc.h +++ b/src/systems/usc/include/mp-units/systems/usc/usc.h @@ -110,7 +110,7 @@ inline constexpr struct troy_pound : named_unit<"lb t", mag<12> * troy_once> {} inline constexpr struct inch_of_mercury : named_unit<"inHg", mag * si::pascal> {} inch_of_mercury; // https://en.wikipedia.org/wiki/United_States_customary_units#Temperature -inline constexpr struct degree_Fahrenheit : named_unit * si::degree_Celsius> {} degree_Fahrenheit; +inline constexpr struct degree_Fahrenheit : named_unit * si::degree_Celsius> {} degree_Fahrenheit; // clang-format on namespace unit_symbols {