From efec1f7024f11f68c3fca476416c78414266f259 Mon Sep 17 00:00:00 2001 From: Tomáš Chvátal Date: Thu, 12 May 2016 11:07:13 +0200 Subject: Fix unittest failure on aarch64 Change-Id: Ice8d67a7531ef718a9e45d3e5d30817822383749 Reviewed-on: https://gerrit.libreoffice.org/24924 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- sc/qa/unit/ucalc_formula.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc') diff --git a/sc/qa/unit/ucalc_formula.cxx b/sc/qa/unit/ucalc_formula.cxx index ffce49a34ed5..fa49e0d89053 100644 --- a/sc/qa/unit/ucalc_formula.cxx +++ b/sc/qa/unit/ucalc_formula.cxx @@ -6851,7 +6851,7 @@ void Test::testFuncMDETERM() // interim results or optimization not catching it, this test fails // when comparing to 0.0, so have a narrow error margin. See also // commit message of 8140309d636d4a870875f2dd75ed3dfff2c0fbaf -#if SAL_TYPES_SIZEOFPOINTER == 4 +#if SAL_TYPES_SIZEOFPOINTER == 4 || defined(__aarch64__) CPPUNIT_ASSERT_DOUBLES_EQUAL_MESSAGE("Calculation of MDETERM incorrect for singular integer matrix", 0.0, m_pDoc->GetValue(aPos), 1e-12); #else -- cgit