Skip to content

Commit

Permalink
Adjust test for failures on aarch64, ppc64le and s390x
Browse files Browse the repository at this point in the history
[ RUN      ] RooTruthModel.IntegrateSubrange
[#1] INFO:Eval -- RooRealVar::setRange(dt) new range named 'integral' created with bounds [2,2]
/builddir/build/BUILD/root-6.30.02/roofit/roofitcore/test/testRooTruthModel.cxx:38: Failure
Expected equality of these values:
  integ->getVal()
    Which is: -2.8822093e-17
  0.0
    Which is: 0
[  FAILED  ] RooTruthModel.IntegrateSubrange (194 ms)
  • Loading branch information
ellert authored and guitargeek committed Dec 11, 2023
1 parent 33f75f0 commit fd72fc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roofit/roofitcore/test/testRooTruthModel.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ TEST(RooTruthModel, IntegrateSubrange)
dt.setRange("integral", 2, 2);

std::unique_ptr<RooAbsReal> integ{bcpg.createIntegral({dt}, "integral")};
EXPECT_FLOAT_EQ(integ->getVal(), 0.0);
EXPECT_NEAR(integ->getVal(), 0.0, 1e-16);
}

0 comments on commit fd72fc5

Please sign in to comment.