Skip to content

Commit

Permalink
Add missing to gluon exception
Browse files Browse the repository at this point in the history
  • Loading branch information
cschwan committed Oct 18, 2022
1 parent 7b6fdb2 commit 8c4274e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pineappl/src/evolution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,11 @@ pub(crate) fn pids(
.slice(s![.., pid1_idx, .., pid0_idx, ..])
.iter()
.any(|&value| value != 0.0)
&& pid1_nonzero(info.pids1[pid1_idx])
&& pid1_nonzero(if gluon_has_pid_zero && info.pids1[pid1_idx] == 21 {
0
} else {
info.pids1[pid1_idx]
})
})
.collect();

Expand Down

0 comments on commit 8c4274e

Please sign in to comment.