hyperion-rt / hyperion

Hyperion Radiative Transfer Code
http://www.hyperion-rt.org
BSD 2-Clause "Simplified" License
52 stars 26 forks source link

Bug fix: Issue #21 #22

Closed tbowers7 closed 12 years ago

tbowers7 commented 12 years ago

In src/images/images_peeled.f90:peeloff_photon changed the program control statement for out-of-distance-range photons from 'return' to 'cycle'. With the 'return' statement, a given photon was not considered for subsequent peeled images if it was out-of-distance-range for any one image because the subroutine was returned. The change to 'cycle' ends consideration of the photon for the present peeled image, but cycles the DO loop to the next peeled image. 10/02/12, TPEB

astrofrog commented 12 years ago

Good catch! Thanks for the fix!