Skip to content

Commit

Permalink
Fix molarity scaling. (#2414)
Browse files Browse the repository at this point in the history
fixes #2413
  • Loading branch information
thorstenhater authored Sep 23, 2024
1 parent 502f385 commit 3f31da1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arbor/include/arbor/units.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3f31da1

Please sign in to comment.