Skip to content

Commit 430f7af

Browse files
Remove interp_b
1 parent cc95c9f commit 430f7af

1 file changed

Lines changed: 3 additions & 13 deletions

File tree

pineappl/src/interpolation.rs

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -658,16 +658,7 @@ mod tests {
658658

659659
#[test]
660660
fn compare_fields_with_nan() {
661-
let interp_a = Interp::new(
662-
1e-3,
663-
1e4,
664-
50,
665-
3,
666-
ReweightMeth::NoReweight,
667-
Map::ApplGridH0,
668-
InterpMeth::Lagrange,
669-
);
670-
let interp_b = Interp::new(
661+
let interp = Interp::new(
671662
1e-3,
672663
1e4,
673664
50,
@@ -677,9 +668,8 @@ mod tests {
677668
InterpMeth::Lagrange,
678669
);
679670

680-
assert!(interp_a.min.is_nan());
681-
assert!(interp_b.min.is_nan());
682-
assert_eq!(interp_a, interp_b);
671+
assert!(interp.min.is_nan());
672+
assert_eq!(interp, interp);
683673
}
684674

685675
#[test]

0 commit comments

Comments
 (0)