Skip to content

Commit 92d4384

Browse files
committed
Add regression test for PR 365
1 parent f5ec260 commit 92d4384

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

pineappl/src/interpolation.rs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -742,4 +742,20 @@ mod tests {
742742
assert!(applgrid::fq20(applgrid::ftau0(q2)).ulps(&q2) < 4);
743743
}
744744
}
745+
746+
#[test]
747+
fn pr_365() {
748+
assert_approx_eq!(
749+
f64,
750+
applgrid::fx2(6.7865509745),
751+
0.1010727499933246,
752+
ulps = 4
753+
);
754+
assert_approx_eq!(
755+
f64,
756+
applgrid::fx2(6.786550974400577),
757+
0.10107275000000002,
758+
ulps = 4
759+
);
760+
}
745761
}

0 commit comments

Comments
 (0)