Skip to content

Commit

Permalink
Fix static scale detection
Browse files Browse the repository at this point in the history
  • Loading branch information
cschwan committed Feb 7, 2021
1 parent 0ad1269 commit a0f32fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pineappl/src/lagrange_subgrid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -493,9 +493,9 @@ impl Subgrid for LagrangeSubgridV2 {
let y2 = fy(ntuple.x2);
let tau = ftau(ntuple.q2);

if ntuple.q2 == 0.0 {
if self.static_q2 == 0.0 {
self.static_q2 = ntuple.q2;
} else if self.static_q2 != ntuple.q2 {
} else if (self.static_q2 != 1.0) && (self.static_q2 != ntuple.q2) {
self.static_q2 = -1.0;
}

Expand Down

0 comments on commit a0f32fc

Please sign in to comment.