From e35f21d2cac0207efbc80175f118dc42a0dae56a Mon Sep 17 00:00:00 2001 From: "James R. Maddison" Date: Mon, 15 Jul 2024 13:52:47 +0100 Subject: [PATCH] Remove (unused?) backend module --- firedrake/adjoint/__init__.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/firedrake/adjoint/__init__.py b/firedrake/adjoint/__init__.py index c3f4c8a00a..6816ed299d 100644 --- a/firedrake/adjoint/__init__.py +++ b/firedrake/adjoint/__init__.py @@ -10,13 +10,6 @@ import pyadjoint __version__ = pyadjoint.__version__ -import sys -if 'backend' not in sys.modules: - import firedrake - sys.modules['backend'] = firedrake -else: - raise ImportError("'backend' module already exists?") - from pyadjoint.tape import Tape, set_working_tape, get_working_tape, \ pause_annotation, continue_annotation, \ stop_annotating, annotate_tape, \