summaryrefslogtreecommitdiff
path: root/pint
diff options
context:
space:
mode:
Diffstat (limited to 'pint')
-rw-r--r--pint/measurement.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pint/measurement.py b/pint/measurement.py
index feb509d..4e8e8aa 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)
+ ustr = siunitx_format_unit(self.units._units, self._registry)
return r"\SI%s{%s}{%s}" % (opts, mstr, ustr)
# standard cases