Weaken SwarmSolverTest::testUnconstrained even further for now

...after 1fa761af82 "Ridiculously large delta for
SwarmSolverTest::testUnconstrained for now", to accommodate further Jenkins
lo_ubsan failures with actual values of 3.67055466470122
(<https://ci.libreoffice.org/job/lo_ubsan/741/console>) and 3.88389164367578
(<https://ci.libreoffice.org/job/lo_ubsan/743/console>).

Change-Id: Ibacb25ba82c2c279ef8dcd19c5ce7f6d5d8014d5
Reviewed-on: https://gerrit.libreoffice.org/45520
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
Stephan Bergmann 2017-11-29 18:07:00 +01:00
parent d43e694d5e
commit 0c3444c9bc

View file

@ -103,7 +103,7 @@ void SwarmSolverTest::testUnconstrained()
uno::Sequence<double> aSolution = xSolver->getSolution(); uno::Sequence<double> aSolution = xSolver->getSolution();
CPPUNIT_ASSERT_EQUAL(aSolution.getLength(), aVariables.getLength()); CPPUNIT_ASSERT_EQUAL(aSolution.getLength(), aVariables.getLength());
CPPUNIT_ASSERT_DOUBLES_EQUAL(3.0, aSolution[0], .2); CPPUNIT_ASSERT_DOUBLES_EQUAL(3.0, aSolution[0], .9);
} }
void SwarmSolverTest::testVariableBounded() void SwarmSolverTest::testVariableBounded()