diff --git a/src/Magnum/Math/Algorithms/Test/SvdTest.cpp b/src/Magnum/Math/Algorithms/Test/SvdTest.cpp index 7eec4e7c0..bbcf9318c 100644 --- a/src/Magnum/Math/Algorithms/Test/SvdTest.cpp +++ b/src/Magnum/Math/Algorithms/Test/SvdTest.cpp @@ -67,8 +67,10 @@ template void SvdTest::test() { Matrix5x8 w2 = Matrix5x8::fromDiagonal(w); { #ifdef CORRADE_TARGET_EMSCRIPTEN - CORRADE_EXPECT_FAIL_IF((std::is_same::value), - "Some strange problems with Double on recent Emscripten versions (1.36.5 worked fine)."); + CORRADE_EXPECT_FAIL_IF((std::is_same::value) && u2*w2*v.transposed() != a, + "Some strange problems with Double on recent Emscripten versions " + "(1.36.5 worked fine, 1.37.1 works fine on larger optimization " + "levels, not on -O1)."); #endif CORRADE_COMPARE(u2*w2*v.transposed(), a); }