Skip to content

Commit

Permalink
Correct docstring.
Browse files Browse the repository at this point in the history
I found a mistake in the mass_fractions function docstring, which I fixed.
  • Loading branch information
johanzietsman-em committed Apr 1, 2017
1 parent c6b228b commit 7f8bb75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions auxi/tools/chemistry/stoichiometry.py
Expand Up @@ -255,9 +255,9 @@ def masses(amounts):

def mass_fractions(amounts):
"""
Calculate the mole fractions from the specified compound masses.
Calculate the mole fractions from the specified compound amounts.
:param masses: [kg] dictionary, e.g. {'SiO2': 3.0, 'FeO': 1.5}
:param amounts: [kmol] dictionary, e.g. {'SiO2': 3.0, 'FeO': 1.5}
:returns: [mass fractions] dictionary
"""
Expand Down

0 comments on commit 7f8bb75

Please sign in to comment.