diff --git a/src/novae/nova_event_handler.c b/src/novae/nova_event_handler.c index c59fda166797e7f5b821d9279501f00ab00ae84c..8b6c9861f71b69fa8efc4064d1a1f072e8d62992 100644 --- a/src/novae/nova_event_handler.c +++ b/src/novae/nova_event_handler.c @@ -65,11 +65,7 @@ Event_handler_function nova_event_handler(void * const eventp, exploder->mass -= dm_lost; exploder->novastate = NOVA_STATE_POST; - /* - * Accrete some on the companion - */ - donor->mass += dm_gain; - + /* * calculate nova yield abundances */ @@ -92,8 +88,10 @@ Event_handler_function nova_event_handler(void * const eventp, YIELD_NOT_FINAL, NUCSYN_SOURCE_NOVAE); - /* should we call nucsyn remove dm here? */ + /* + * Accrete some on the companion? + */ if(Is_not_zero(dm_gain)) { @@ -106,6 +104,7 @@ Event_handler_function nova_event_handler(void * const eventp, donor->dmacc,donor->Xacc, dm_gain,Xnova ); + donor->mass += dm_gain; donor->dmacc += dm_gain; /*