From ecf8886333e8f4e37e24b471e991c5e321259cfb Mon Sep 17 00:00:00 2001 From: srosenbu Date: Mon, 23 Oct 2023 11:25:35 +0200 Subject: [PATCH] fix projection --- src/fenicsxconcrete/util/projection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fenicsxconcrete/util/projection.py b/src/fenicsxconcrete/util/projection.py index fed7338..cb3e802 100644 --- a/src/fenicsxconcrete/util/projection.py +++ b/src/fenicsxconcrete/util/projection.py @@ -3,7 +3,7 @@ def project( - v: df.fem.Function | ufl.core.expr.Expr, V: df.fem.FunctionSpace, dx: ufl.Measure, u: df.fem.Function | None = None + v: df.fem.Function | ufl.core.expr.Expr, V: df.fem.FunctionSpaceBase, dx: ufl.Measure, u: df.fem.Function | None = None ) -> None | df.fem.Function: """ Calculates an approximation of `v` on the space `V`