Bug in
Page 1 of 1

Author:  buday [ Fri Jul 10, 2015 5:21 am ]
Post subject:  Bug in

There is a bug in latest versions of GALPROP in file
Row 136, we have:
   pow(DM_profile_av(galaxy.x[ix], galaxy.y[ix], galaxy.z[iz], galaxy.dx, galaxy.dy,, dzz)/DMmass,2)

This coordinate:

is wrong.
Evidently, it must be:
   pow(DM_profile_av(galaxy.x[ix], galaxy.y[iy], galaxy.z[iz], galaxy.dx, galaxy.dy,, dzz)/DMmass,2)

If someone have used this file, please fix a bug and check your results again.

File with bug fixed is attached.

Attachments: [10.27 KiB]
Downloaded 1488 times

Author:  strong [ Fri Jul 10, 2015 5:29 am ]
Post subject:  Re: Bug in

thanks, I will fix it in the next release.

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group