icecube / pisa

Monte Carlo-based data analysis
http://icecube.github.io/pisa/
Apache License 2.0
19 stars 47 forks source link

fix bug in nusquids stage when not using taus #696

Closed atrettin closed 2 years ago

atrettin commented 2 years ago

When not using taus, all probabilities from nusquids were set to zero due to the last few lines in the apply function. Sorry, I should have actually tested the stage at PR #691 in my own pipeline instead of just looking at the code... it should now cleanly switch between using taus and not using them without doing any superfluous computation or memory allocation.