[arrayfire] 189/408: Added check for skipping double type test when not supported
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Mon Sep 21 19:11:54 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/sid
in repository arrayfire.
commit 8f250e77ee60ec5eea64265e02f6ce63055e3921
Author: pradeep <pradeep at arrayfire.com>
Date: Wed Aug 5 09:56:13 2015 -0400
Added check for skipping double type test when not supported
---
test/sat.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/test/sat.cpp b/test/sat.cpp
index 3f56b63..00261e2 100644
--- a/test/sat.cpp
+++ b/test/sat.cpp
@@ -33,6 +33,8 @@ TYPED_TEST_CASE(SAT, TestTypes);
TYPED_TEST(SAT, IntegralImage)
{
+ if(noDoubleTests<TypeParam>()) return;
+
af::array a = af::randu(530, 671, (af_dtype)af::dtype_traits<TypeParam>::af_type);
af::array b = af::accum(a, 0);
af::array c = af::accum(b, 1);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/arrayfire.git
More information about the debian-science-commits
mailing list