Skip to content

Commit

Permalink
added some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodot- committed Aug 5, 2024
1 parent baddb8e commit cc01da5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tardis/opacities/opacity_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ def solve(self, legacy_plasma) -> OpacityState:
-------
OpacityState
"""
if (
self.disable_line_scattering
): # These arrays have the same index and type
if self.disable_line_scattering:
tau_sobolev = pd.DataFrame(
np.zeros(
(
legacy_plasma.atomic_data.lines.shape[0],
legacy_plasma.abundance.shape[1],
legacy_plasma.atomic_data.lines.shape[
0
], # number of lines
legacy_plasma.abundance.shape[1], # number of shells
),
dtype=np.float64,
),
Expand Down

0 comments on commit cc01da5

Please sign in to comment.