Skip to content

Commit

Permalink
Missing from_plasma usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Sonu0305 authored Jan 22, 2025
1 parent 14221dd commit 2ecc751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tardis/spectrum/formal_integral.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def __init__(
self.transport.montecarlo_configuration
)
if plasma and opacity_state and macro_atom_state:
self.opacity_state = OpacityState(
self.opacity_state = OpacityState.from_plasma(

Check warning on line 291 in tardis/spectrum/formal_integral.py

View check run for this annotation

Codecov / codecov/patch

tardis/spectrum/formal_integral.py#L291

Added line #L291 was not covered by tests
plasma=plasma,
tau_sobolev=opacity_state.tau_sobolev,
beta_sobolev=plasma.beta_sobolev,
Expand Down

0 comments on commit 2ecc751

Please sign in to comment.