[python-arrayfire] 121/250: fix missing console output from interactive python interpreter

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Mon Mar 28 22:59:39 UTC 2016


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

ghisvail-guest pushed a commit to branch debian/master
in repository python-arrayfire.

commit 80d299db5422e85fddd7256cc25ca67d51226bab
Author: syurkevi <stefan at arrayfire.com>
Date:   Mon Sep 14 17:25:57 2015 -0400

    fix missing console output from interactive python interpreter
---
 README.md          | 2 +-
 arrayfire/array.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 612d78b..45e0f45 100644
--- a/README.md
+++ b/README.md
@@ -77,7 +77,7 @@ Generate a random matrix a:
 Minimum, Maximum:  7.825903594493866e-06 0.7556053400039673
 ```
 
-Choosing a particular backend can be done using `af.backend.set( backend_name )`  where backend_name can be one of: "_cuda_" or "_opencl_", or "_cpu_". The default device is chosen in the same order of preference.
+Choosing a particular backend can be done using `af.backend.set( backend_name )`  where backend_name can be one of: "_cuda_", "_opencl_", or "_cpu_". The default device is chosen in the same order of preference.
 
 ## Requirements
 
diff --git a/arrayfire/array.py b/arrayfire/array.py
index 1314c64..be0dad7 100644
--- a/arrayfire/array.py
+++ b/arrayfire/array.py
@@ -1047,6 +1047,6 @@ def display(a):
             st = expr[0].find('(') + 1
             en = expr[0].rfind(')')
             print('%s' % expr[0][st:en])
-            safe_call(backend.get().af_print_array(a.arr))
+        safe_call(backend.get().af_print_array(a.arr))
     except:
         safe_call(backend.get().af_print_array(a.arr))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-arrayfire.git



More information about the debian-science-commits mailing list