Skip to content

Commit

Permalink
bug fix: add forgotten argument to radxi_from_Trad
Browse files Browse the repository at this point in the history
  • Loading branch information
themikelau committed Sep 4, 2024
1 parent 38eae22 commit d321d38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/setup/set_star_utils.f90
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ subroutine set_star_thermalenergy(ieos,den,pres,r,npts,npart,xyzh,vxyzu,rad,eos_
endif
if (do_radiation) then
vxyzu(4,i) = ugas_from_Tgas(tempi,gamma,gmw)
rad(iradxi,i) = radxi_from_Trad(tempi)
rad(iradxi,i) = radxi_from_Trad(densi,tempi)
else
vxyzu(4,i) = eni / unit_ergg
endif
Expand Down

0 comments on commit d321d38

Please sign in to comment.