From 3ef2703ea05dbb70a13eb01c732caf8edee592d1 Mon Sep 17 00:00:00 2001 From: Francesco Ballarin Date: Mon, 6 Nov 2023 12:48:00 +0100 Subject: [PATCH] Clean up unused includes in PETSc nanobind casters, but leave the macro available --- python/dolfinx/wrappers/caster_petsc.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/python/dolfinx/wrappers/caster_petsc.h b/python/dolfinx/wrappers/caster_petsc.h index 01929b768ae..2f42cac644c 100644 --- a/python/dolfinx/wrappers/caster_petsc.h +++ b/python/dolfinx/wrappers/caster_petsc.h @@ -8,11 +8,7 @@ #include #include -#include -#include -#include #include -#include #include // nanobind casters for PETSc/petsc4py objects @@ -83,5 +79,3 @@ namespace nanobind::detail PETSC_CASTER_MACRO(Mat, Mat, mat); PETSC_CASTER_MACRO(Vec, Vec, vec); } // namespace nanobind::detail - -#undef PETSC_CASTER_MACRO