Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
orso82 committed Jul 25, 2023
1 parent d33e09d commit 4e82030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/physics/sol.jl
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ NOTE: This function returns 1.0 [W] if power is less than that so that SOL quant
function power_sol(core_sources::IMAS.core_sources, cp1d::IMAS.core_profiles__profiles_1d)
p_sol = total_power_source(total_sources(core_sources, cp1d; fields=[:power_inside, :total_ion_power_inside]))
if p_sol < 1.0
return one(psol)
return one(p_sol)
else
return p_sol
end
Expand Down

0 comments on commit 4e82030

Please sign in to comment.