diff --git a/arrayfire/library.py b/arrayfire/library.py index 91ba1af70..9748f6c39 100644 --- a/arrayfire/library.py +++ b/arrayfire/library.py @@ -496,7 +496,7 @@ def set_backend(name, unsafe=False): unsafe : optional: bool. Default: False. If False, does not switch backend if current backend is not unified backend. """ - if (backend.is_unified() == False and unsanfe == False): + if (backend.is_unified() == False and unsafe == False): raise RuntimeError("Can not change backend after loading %s" % name) if (backend.is_unified()):