summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeewis <keewis@posteo.de>2021-08-18 01:35:14 +0200
committerKeewis <keewis@posteo.de>2021-08-18 01:35:14 +0200
commita480a092e94a07d6e61df71ef39bbdbef64adc2c (patch)
tree48cf0a06ec32c817c6120b71574ceac491444155
parentfd74206c52e1876cc6bb09f5bb6fd0e4b1ecc806 (diff)
downloadpint-a480a092e94a07d6e61df71ef39bbdbef64adc2c.tar.gz
typo
-rw-r--r--pint/measurement.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pint/measurement.py b/pint/measurement.py
index 4e8e8aa..0327de1 100644
--- a/pint/measurement.py
+++ b/pint/measurement.py
@@ -112,7 +112,7 @@ class Measurement(Quantity):
# Also, SIunitx doesn't accept parentheses, which uncs uses with
# scientific notation ('e' or 'E' and sometimes 'g' or 'G').
mstr = mstr.replace("(", "").replace(")", " ")
- ustr = siunitx_format_unit(self.units._units, self._registry)
+ ustr = siunitx_format_unit(self.units._units, self._REGISTRY)
return r"\SI%s{%s}{%s}" % (opts, mstr, ustr)
# standard cases