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

backport error in sign of derivative

parent 9b25906f
Branches dockerservices
No related tags found
No related merge requests found
......@@ -148,6 +148,8 @@
"Central helium", \
"Central carbon", \
"He core mass (no 3DUP)", \
"Number of thermal pulses", \
"Number of thermal pulses since mcmin", \
"nova H layer mass", \
"Roche radius" \
}
......
......@@ -409,7 +409,7 @@ void limit_accretion_rates(struct stardata_t * RESTRICT const stardata)
* Remove all the accreted layer : anything
* remaining becomes part of the white dwarf.
*/
accretor->derivative[DERIVATIVE_STELLAR_H_LAYER_MASS] -=
accretor->derivative[DERIVATIVE_STELLAR_H_LAYER_MASS] +=
dm_loss_rate;
/*
......
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