We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b5a25f commit 7b9f5acCopy full SHA for 7b9f5ac
arrayfire/library.py
@@ -488,7 +488,7 @@ def set_backend(name, unsafe=False):
488
unsafe : optional: bool. Default: False.
489
If False, does not switch backend if current backend is not unified backend.
490
"""
491
- if (backend.is_unified() == False and unsanfe == False):
+ if (backend.is_unified() == False and unsafe == False):
492
raise RuntimeError("Can not change backend after loading %s" % name)
493
494
if (backend.is_unified()):
0 commit comments