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

cleanup

parent 1840ad36
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,6 @@ void start_of_evolution(struct stardata_t *stardata)
/*************************************/
/** set up variables and parameters **/
/*************************************/
printf("SET MET\n");
set_metallicities(stardata);
#ifdef BSE
/* set metallicity parameters */
......
......@@ -10,13 +10,13 @@ void set_metallicities(struct stardata_t * RESTRICT const stardata)
* If the effective or nucsyn metallicity are < 0,
* set it to the metallicity
*/
if(stardata->common.effective_metallicity < -TINY)
if(Negative_nonzero(stardata->common.effective_metallicity))
{
stardata->common.effective_metallicity =
stardata->common.metallicity;
}
#ifdef NUCSYN
if(stardata->common.nucsyn_metallicity < -TINY)
if(Negative_nonzero(stardata->common.nucsyn_metallicity))
{
stardata->common.nucsyn_metallicity =
stardata->common.metallicity;
......
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