Skip to content

Commit

Permalink
Only recompute fExpVL if needed
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoabcoelho committed Aug 8, 2023
1 parent 5fa1f46 commit fae298c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PMNS_Iter.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ void PMNS_Iter::PropagatePath(NuPath p)
dm *= kKm2eV * p.length / (2 * kGeV2eV * fEnergy);

int nsplit = sqrt(0.065 * dm * fVL / fPrec);
if(nsplit){
if(nsplit>1){
p.length /= nsplit;
SetExpVL(p);
}
Expand Down

0 comments on commit fae298c

Please sign in to comment.