Skip to content
Snippets Groups Projects
Commit 23224b3d authored by Izzard, Robert Dr (Maths & Physics)'s avatar Izzard, Robert Dr (Maths & Physics)
Browse files

fix typo which ran off the end of an array

parent 768d10d0
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,7 @@ void MINT_CHeB_ZA(struct stardata_t * const stardata, ...@@ -32,7 +32,7 @@ void MINT_CHeB_ZA(struct stardata_t * const stardata,
if(CHeB_ZA_luminosity != NULL) if(CHeB_ZA_luminosity != NULL)
{ {
*CHeB_ZA_luminosity = exp10(result[1]); *CHeB_ZA_luminosity = exp10(result[0]);
} }
return; return;
......
...@@ -5,7 +5,7 @@ No_empty_translation_unit_warning; ...@@ -5,7 +5,7 @@ No_empty_translation_unit_warning;
/* /*
* Function to estimate the binding energy of the * Function to estimate the binding energy of the
* whole star. * whole star (erg).
*/ */
double MINT_binding_energy(struct stardata_t * const stardata, double MINT_binding_energy(struct stardata_t * const stardata,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment