Skip to content

Commit 28a0a40

Browse files
Tests: fix conditional compilation double code
Only conditionally compile tests in real double-precision.
1 parent 8049edd commit 28a0a40

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

TESTING/cpp/xGGQRCS_tests.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2478,6 +2478,7 @@ BOOST_AUTO_TEST_CASE(regression_switches_20231125)
24782478

24792479

24802480
// The re-assembled matrix B is inaccurate.
2481+
#if BUILD_DOUBLE
24812482
BOOST_AUTO_TEST_CASE(regression_switches_20231220)
24822483
{
24832484
auto m = 4;
@@ -2540,10 +2541,12 @@ BOOST_AUTO_TEST_CASE(regression_switches_20231220)
25402541

25412542
BOOST_CHECK(!caller.swapped_p);
25422543
}
2544+
#endif
25432545

25442546

25452547
// Check if lapack#965 was fixed (the DBBCSD termination criterion is too
25462548
// loose).
2549+
#if BUILD_DOUBLE
25472550
BOOST_AUTO_TEST_CASE(regression_switches_20231226)
25482551
{
25492552
auto m = 3;
@@ -2595,6 +2598,7 @@ BOOST_AUTO_TEST_CASE(regression_switches_20231226)
25952598

25962599
BOOST_CHECK(!caller.swapped_p);
25972600
}
2601+
#endif
25982602

25992603

26002604
// expect failures because xLANGE overflows when it should not

0 commit comments

Comments
 (0)