NuWro / nuwro

The main distribution of NuWro
GNU General Public License v3.0
13 stars 15 forks source link

Fix a bug where multiple atmospheric flux is not handled properly #32

Closed karuboniru closed 1 month ago

karuboniru commented 2 months ago

The value s0 and s1 is the CDF for the weight of bins, thus when p.beam_atmo_files has multiple lines (usually seen when different flavors of neutrino being present), the value should not be reset after each file is processed.