diff --git a/roofit/roofitcore/test/TestStatistics/testLikelihoodGradientJob.cxx b/roofit/roofitcore/test/TestStatistics/testLikelihoodGradientJob.cxx index 085c969b85586..296ec5f7d6d10 100644 --- a/roofit/roofitcore/test/TestStatistics/testLikelihoodGradientJob.cxx +++ b/roofit/roofitcore/test/TestStatistics/testLikelihoodGradientJob.cxx @@ -693,7 +693,7 @@ TEST_P(LikelihoodGradientJobErrorTest, FitSimpleLinear) RooArgSet normSet{x}; ASSERT_FALSE(std::isnan(pdf.getVal(normSet))); - a1.setVal(-9.); + a1.setVal(-5.); ASSERT_TRUE(std::isnan(pdf.getVal(normSet))); RooMinimizer minim(*nll); @@ -708,7 +708,7 @@ TEST_P(LikelihoodGradientJobErrorTest, FitSimpleLinear) // now with multiprocess std::unique_ptr nll_mp(pdf.createNLL(*data, RooFit::ModularL(true))); - a1.setVal(-9.); + a1.setVal(-5.); a1.removeError(); ASSERT_TRUE(std::isnan(pdf.getVal(normSet))); diff --git a/roofit/roofitcore/test/testNaNPacker.cxx b/roofit/roofitcore/test/testNaNPacker.cxx index 4b4bae5d2962f..c1f307ab60277 100644 --- a/roofit/roofitcore/test/testNaNPacker.cxx +++ b/roofit/roofitcore/test/testNaNPacker.cxx @@ -155,7 +155,7 @@ TEST(RooNaNPacker, FitSimpleLinear) RooArgSet normSet{x}; ASSERT_FALSE(std::isnan(pdf.getVal(normSet))); - a1.setVal(-9.); + a1.setVal(-5.); ASSERT_TRUE(std::isnan(pdf.getVal(normSet))); RooMinimizer minim(*nll);