Skip to content

Commit

Permalink
Merge branch 'standardized_python_units' of https://github.com/LLNL/u…
Browse files Browse the repository at this point in the history
…nits into standardized_python_units
  • Loading branch information
phlptp committed Jan 12, 2025
2 parents 85fc0e9 + 240d47f commit a197737
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/units_python.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,8 @@ NB_MODULE(units_llnl_ext, mod)
.def(
"__init__",
[](units::precise_measurement* measurement,
const std::string &value,
const std::string &unit) {
const std::string& value,
const std::string& unit) {
new (measurement) units::precise_measurement(
units::measurement_from_string(value + " " + unit));
},
Expand Down

0 comments on commit a197737

Please sign in to comment.