Skip to content

Commit 0193040

Browse files
volkerspringelstephenpcook
authored andcommitted
disabled a superfluous call of get_starformtion_rate()
1 parent 33d3f94 commit 0193040

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • src/amuse/community/arepo/src/cooling

src/amuse/community/arepo/src/cooling/cooling.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -477,9 +477,9 @@ void SetOutputGasState(int i, double *ne_guess, double *nH0, double *coolrate)
477477
double u = dmax(All.MinEgySpec, SphP[i].Utherm);
478478

479479
/* update GasState as appropriate given compile-time options and cell properties */
480-
#if defined(USE_SFR)
481-
sfr = get_starformation_rate(i);
482-
#endif /* #if defined(USE_SFR) */
480+
// #if defined(USE_SFR)
481+
// sfr = get_starformation_rate(i); // call is superfluous at this place
482+
// #endif
483483

484484
/* update DoCool */
485485
DoCool.u_old_input = u;

0 commit comments

Comments
 (0)