diff options
| author | Keewis <keewis@posteo.de> | 2021-08-18 01:35:14 +0200 |
|---|---|---|
| committer | Keewis <keewis@posteo.de> | 2021-08-18 01:35:14 +0200 |
| commit | a480a092e94a07d6e61df71ef39bbdbef64adc2c (patch) | |
| tree | 48cf0a06ec32c817c6120b71574ceac491444155 | |
| parent | fd74206c52e1876cc6bb09f5bb6fd0e4b1ecc806 (diff) | |
| download | pint-a480a092e94a07d6e61df71ef39bbdbef64adc2c.tar.gz | |
typo
| -rw-r--r-- | pint/measurement.py | 2 |
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 |
