Skip to content

Commit

Permalink
Litres!
Browse files Browse the repository at this point in the history
  • Loading branch information
thorstenhater committed Sep 21, 2024
1 parent c22900c commit e92844d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arbor/include/arbor/units.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ constexpr inline auto C = ::units::precise::coulomb;

// mol and molarity
using ::units::precise::mol;
// M = mol/l = mol/dm^3 = mmol/m^3
constexpr inline auto M = milli * 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 e92844d

Please sign in to comment.