Skip to content

Commit 7b9f5ac

Browse files
bergkoetpavanky
authored andcommitted
Fixes typo that prevented setting backend.
1 parent 5b5a25f commit 7b9f5ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arrayfire/library.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ def set_backend(name, unsafe=False):
488488
unsafe : optional: bool. Default: False.
489489
If False, does not switch backend if current backend is not unified backend.
490490
"""
491-
if (backend.is_unified() == False and unsanfe == False):
491+
if (backend.is_unified() == False and unsafe == False):
492492
raise RuntimeError("Can not change backend after loading %s" % name)
493493

494494
if (backend.is_unified()):

0 commit comments

Comments
 (0)