Kaydet (Commit) 0c3444c9 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Weaken SwarmSolverTest::testUnconstrained even further for now

...after 1fa761af "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/45520Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
Tested-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst d43e694d
......@@ -103,7 +103,7 @@ void SwarmSolverTest::testUnconstrained()
uno::Sequence<double> aSolution = xSolver->getSolution();
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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment