From 0a9608db089f137acfeb640ee591a7677b88d755 Mon Sep 17 00:00:00 2001 From: Hameer Abbasi Date: Mon, 1 Jul 2019 08:14:14 +0200 Subject: [PATCH] Remove redundant set_backend. --- uarray/_backend.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/uarray/_backend.py b/uarray/_backend.py index 6cc5b564..2f478519 100644 --- a/uarray/_backend.py +++ b/uarray/_backend.py @@ -142,8 +142,7 @@ def inner(*args, **kwargs): result = options.backend.__ua_function__(inner, a, kw) if result is NotImplemented: - with set_backend(options.backend, only=True, coerce=options.coerce): - result = try_default(a, kw, options, errors) + result = try_default(a, kw, options, errors) if result is not NotImplemented: break