Skip to content

Fixed small bug in the computation of "low_prob_rec" (was correct in...

Jeremy Blaizot requested to merge bug-fix-PhotICs into develop

Fixed small bug in the computation of "low_prob_rec" (was correct in LyaPhotonsFromGas but the normalisation was wrong in PhotonsFromStars.f90). Also fixed the binary searches (in both LyaPhotonsFromGas and PhotonsFromStars) where iup was initialised to n instead of n+1.

These bugs had generally no impact, except for objects with very few sources (e.g. a few star particles or a few cells).

Merge request reports