Commits

Matthew Turk committed 51ef819

We don't want to include electrons in the mass density, either.

  • Participants
  • Parent commits 365b2f5

Comments (0)

Files changed (1)

File dengo/chemical_network.py

     def print_mass_density(self):
         eq = 0
         for s in sorted(self.required_species):
-            if s.name != 'ge':
+            if s.name not in ('de', 'ge'):
                 eq += s.symbol
         return ccode(eq)