[arrayfire] 59/248: Use af_print_array_gen in unified basic example

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Nov 17 15:53:55 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 fc7630f4c76d737775b9a3d79546338bccb221c7
Author: Shehzan Mohammed <shehzan at arrayfire.com>
Date:   Mon Sep 14 16:45:49 2015 -0400

    Use af_print_array_gen in unified basic example
---
 examples/unified/basic.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/unified/basic.cpp b/examples/unified/basic.cpp
index 8f35e19..36787e9 100644
--- a/examples/unified/basic.cpp
+++ b/examples/unified/basic.cpp
@@ -36,10 +36,10 @@ void testBackend()
     af_array B = 0;
 
     af_create_array(&A, &(input.front()), 4, dims, af_dtype::f32);
-    af_print_array(A);
+    af_print_array_gen("A", A, 4);
 
     af_constant(&B, 0.5, 4, dims, af_dtype::f32);
-    af_print_array(B);
+    af_print_array_gen("B", B, 4);
 
     af_release_array(A);
     af_release_array(B);

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