Skip to content

Commit

Permalink
Fix bug in atomic mass unit latex output
Browse files Browse the repository at this point in the history
  • Loading branch information
xnx committed Jun 3, 2022
1 parent 7944352 commit 3dad114
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyqn/base_unit.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def __str__(self):
]),

('Non-SI mass units', [
BaseUnit('u', 'atomic mass unit', 'mass', 1.660538921e-27, '', '', d_mass),
BaseUnit('u', 'atomic mass unit', 'mass', 1.660538921e-27, '', 'u', d_mass),
BaseUnit('amu', 'atomic mass unit', 'mass', 1.660538921e-27, '', 'am', d_mass),
BaseUnit('Da', 'dalton', 'mass', 1.660538921e-27, '', 'Da', d_mass),
BaseUnit('m_e', 'electron mass', 'mass', 9.10938291e-31, '', 'm_e', d_mass),
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import setup, find_packages
setup(
name = 'pyqn',
version = '1.2.1',
version = '1.2.2',
packages = find_packages(),
author = 'Christian Hill',
url = 'https://github.com/xnx/pyqn',
Expand Down

0 comments on commit 3dad114

Please sign in to comment.