Skip to content

Commit

Permalink
Refactor assignment of Helium population updated values
Browse files Browse the repository at this point in the history
  • Loading branch information
KasukabeDefenceForce committed Sep 20, 2024
1 parent e47bdfb commit 0a2ffbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tardis/plasma/properties/level_population.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,5 @@ def calculate(
partition_function,
)
if helium_population_updated is not None:
level_number_density.loc[2].update(helium_population_updated)
level_number_density.loc[2, helium_population_updated.columns] = helium_population_updated.values
return level_number_density

0 comments on commit 0a2ffbb

Please sign in to comment.