Skip to content

Commit

Permalink
Merge pull request #31 from mattjhill/fix_exotransmit
Browse files Browse the repository at this point in the history
change name of main() function in exotransmit C code
  • Loading branch information
mattjhill authored Jun 30, 2017
2 parents 43d8940 + 3d427c1 commit 3165f72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ExoCTK/pal/_exotransmit_wrapper.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ generates transmission spectra to study exoplanet atmospheres.
"""

cdef extern from "include/main_transmission.c":
void main()
void main_transmission()

def exotransmit():
main()
main_transmission()
2 changes: 1 addition & 1 deletion ExoCTK/pal/include/main_transmission.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ struct Chem chem;
/* ------- begin ---------------- main --------------------------- */


int main()
int main_transmission()
{
TotalOpac();
printf("TotalOpac done\n");
Expand Down

0 comments on commit 3165f72

Please sign in to comment.