From 62db68ddfa753797e63c6d1440bf3fe3bf6bd32e Mon Sep 17 00:00:00 2001 From: "James R. Maddison" Date: Thu, 11 Jul 2024 19:00:25 +0100 Subject: [PATCH] Import fix --- firedrake/adjoint_utils/blocks/constant.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/firedrake/adjoint_utils/blocks/constant.py b/firedrake/adjoint_utils/blocks/constant.py index 7b38a063fd..d384e2dcef 100644 --- a/firedrake/adjoint_utils/blocks/constant.py +++ b/firedrake/adjoint_utils/blocks/constant.py @@ -1,7 +1,8 @@ -import firedrake -import numpy from pyadjoint import Block, OverloadedType +import numpy + from pyadjoint.reduced_functional_numpy import gather +import firedrake from .block_utils import isconstant