summaryrefslogtreecommitdiff
path: root/test/correctness/testaxy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/correctness/testaxy.cc')
-rw-r--r--test/correctness/testaxy.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/correctness/testaxy.cc b/test/correctness/testaxy.cc
index 3588573a..cb5e9923 100644
--- a/test/correctness/testaxy.cc
+++ b/test/correctness/testaxy.cc
@@ -47,6 +47,7 @@ TestAXY<T>::TestAXY(int argc, char *argv[], const bool silent,
// Tests the routine for a wide variety of parameters
template <typename T>
void TestAXY<T>::TestRegular(Arguments<T> &args, const std::string &name) {
+ if (!PrecisionSupported()) { return; }
TestStart("regular behaviour", name);
// Iterates over the dimension for the matrix and vectors
@@ -151,6 +152,7 @@ void TestAXY<T>::TestRegular(Arguments<T> &args, const std::string &name) {
// does not test for results (if any).
template <typename T>
void TestAXY<T>::TestInvalidBufferSizes(Arguments<T> &args, const std::string &name) {
+ if (!PrecisionSupported()) { return; }
TestStart("invalid buffer sizes", name);
// Sets example test parameters