From 3f31da14f8900ee2b234fa44bccbc919b693ccb1 Mon Sep 17 00:00:00 2001 From: Thorsten Hater <24411438+thorstenhater@users.noreply.github.com> Date: Mon, 23 Sep 2024 11:15:37 +0200 Subject: [PATCH] Fix molarity scaling. (#2414) fixes #2413 --- arbor/include/arbor/units.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arbor/include/arbor/units.hpp b/arbor/include/arbor/units.hpp index c361209a56..b7be90b7be 100644 --- a/arbor/include/arbor/units.hpp +++ b/arbor/include/arbor/units.hpp @@ -82,7 +82,8 @@ constexpr inline auto C = ::units::precise::coulomb; // mol and molarity using ::units::precise::mol; -constexpr inline auto M = mol / m.pow(3); +using ::units::precise::L; +constexpr inline auto M = mol / L; constexpr inline auto mM = milli * M; using ::units::is_valid;