Skip to content

Commit 143cf6d

Browse files
committed
[ci optional] fix mean molecular weight for neutral ideal
1 parent 13caa76 commit 143cf6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eos/private/ideal.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ subroutine ideal_eos( &
183183
phase, latent_ddlnT, latent_ddlnRho, res, d_dlnd, d_dlnT, ierr)
184184
if(ierr/=0) return
185185

186-
res(i_mu) = 1d0 ! ideal assumes neutral matter, whereas pack_for_export assumes ionized matter. So we patch it up here.
186+
res(i_mu) = abar ! ideal assumes neutral matter, whereas pack_for_export assumes ionized matter. So we patch it up here.
187187

188188
end subroutine ideal_eos
189189

0 commit comments

Comments
 (0)