Skip to content

Commit

Permalink
fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jwreep committed Jan 12, 2024
1 parent 3a75e9f commit 599b7e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fiasco/ions.py
Original file line number Diff line number Diff line change
Expand Up @@ -942,8 +942,8 @@ def direct_ionization_cross_section(self, energy: u.erg) -> u.cm**2:
:math:`U,f,\Sigma` are all stored in the CHIANTI database such that :math:`\sigma_I`
can be computed for a given :math:`E`.
"""
if (self.hydrogenic and self.atomic_number >= 6) or
(self.helium_like and self.atomic_number >= 10):
if ((self.hydrogenic and self.atomic_number >= 6) or
(self.helium_like and self.atomic_number >= 10)):
return self._fontes_cross_section(energy)
else:
return self._dere_cross_section(energy)
Expand Down

0 comments on commit 599b7e3

Please sign in to comment.