[python-arrayfire] 28/58: Corrected 'set_backend' command in readme.

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Sep 28 13:57:06 UTC 2016


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

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

commit fb73d7e70f9e6380dc4e2fabd0bcd7b06e901655
Author: Carlos De la Guardia <dela3499 at gmail.com>
Date:   Thu Sep 15 18:02:13 2016 -0700

    Corrected 'set_backend' command in readme.
    
    Now the readme matches the online documentation [here](http://arrayfire.org/arrayfire-python/).
---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index c0b8100..3e83f99 100644
--- a/README.md
+++ b/README.md
@@ -31,7 +31,7 @@ def calc_pi_device(samples):
 ```
 
 
-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.
+Choosing a particular backend can be done using `af.set_backend(name)`  where name is either "_cuda_", "_opencl_", or "_cpu_". The default device is chosen in the same order of preference.
 
 ## Requirements
 

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