Skip to content

Commit

Permalink
Merge pull request #807 from agarny/issue806
Browse files Browse the repository at this point in the history
Units: fixed the breaking down of a couple of standard units
  • Loading branch information
kerimoyle committed Jan 27, 2021
2 parents 1fe0aec + dcc53cf commit b2e2dde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utilities.h
Expand Up @@ -55,9 +55,9 @@ static const std::map<std::string, std::map<std::string, double>> standardUnitsL
{"ampere", {{"ampere", 1.0}}},
{"becquerel", {{"second", -1.0}}},
{"candela", {{"candela", 1.0}}},
{"coulomb", {{"ampere", -1.0}, {"second", 1.0}}},
{"coulomb", {{"ampere", 1.0}, {"second", 1.0}}},
{"dimensionless", {{"dimensionless", 1.0}}},
{"farad", {{"ampere", 2.0}, {"kilogram", -1.0}, {"metre", -2.0}, {"second", -4.0}}},
{"farad", {{"ampere", 2.0}, {"kilogram", -1.0}, {"metre", -2.0}, {"second", 4.0}}},
{"gram", {{"kilogram", 1.0}}},
{"gray", {{"metre", 2.0}, {"second", -2.0}}},
{"henry", {{"ampere", -2.0}, {"kilogram", 1.0}, {"metre", 2.0}, {"second", -2.0}}},
Expand Down

0 comments on commit b2e2dde

Please sign in to comment.