[CTI] Allow omitting third body in Chebyshev reaction equations

Cherry-pick of trunk r2930.
This commit is contained in:
Ray Speth 2014-06-20 19:41:14 +00:00
parent aa8c73d252
commit 78c9c9c0a5

View file

@ -1475,8 +1475,9 @@ class chebyshev_reaction(reaction):
self.coeffs = coeffs
# clean up reactant and product lists
del self._r['(+']
del self._p['(+']
if '(+' in self._r:
del self._r['(+']
del self._p['(+']
if 'M)' in self._r:
del self._r['M)']
del self._p['M)']