From fb73d7e70f9e6380dc4e2fabd0bcd7b06e901655 Mon Sep 17 00:00:00 2001 From: Carlos De la Guardia Date: Thu, 15 Sep 2016 18:02:13 -0700 Subject: [PATCH] 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 c0b81005e..3e83f9901 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