Skip to content

Commit

Permalink
Names are lowercase in gfort2py
Browse files Browse the repository at this point in the history
  • Loading branch information
rjfarmer committed Aug 29, 2023
1 parent 8e02ce2 commit 9cfe7cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesa_models/eos.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
res = eos_result.args["res"]
# These are indexed by indices that can be found in eos/public/eos_def.f90
# We can get those indices with calls like this:
i_lnE = eos_def.i_lnE - 1
i_lnE = eos_def.i_lne - 1
# subtract 1 due to the difference between fortran and numpy indexing.

IE = np.exp(res[i_lnE])
Expand Down

0 comments on commit 9cfe7cd

Please sign in to comment.