[arrayfire] 94/248: Added check to verify f64 support in covariance unit test

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Nov 17 15:54:08 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch dfsg-clean
in repository arrayfire.

commit 581ea3d048ca81058a5286bd34172fa05edff5ed
Author: pradeep <pradeep at arrayfire.com>
Date:   Tue Sep 29 22:03:25 2015 -0400

    Added check to verify f64 support in covariance unit test
---
 test/covariance.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/covariance.cpp b/test/covariance.cpp
index dc5ca09..933f617 100644
--- a/test/covariance.cpp
+++ b/test/covariance.cpp
@@ -128,6 +128,7 @@ TEST(Covariance, c32)
 
 TEST(Covariance, c64)
 {
+    if (noDoubleTests<double>()) return;
     array a = constant(cdouble(1.0, -1.0), 10, c64);
     array b = constant(cdouble(2.0, -1.0), 10, c64);
     ASSERT_THROW(cov(a, b), af::exception);

-- 
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