Skip to content

Commit 724b5b8

Browse files
committed
Simplify
Guards not needed.
1 parent aa385c2 commit 724b5b8

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

src/EB/EB.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@
55
*/
66
#include "pyAMReX.H"
77

8-
#ifdef AMREX_USE_EB
9-
108
#include <AMReX_EB2.H>
119

10+
1211
void init_EBFabFactory (py::module& m);
1312

1413
void init_EB (py::module& m)
@@ -33,5 +32,3 @@ void init_EB (py::module& m)
3332

3433
init_EBFabFactory(m);
3534
}
36-
37-
#endif

src/EB/EBFabFactory.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@
55
*/
66
#include "pyAMReX.H"
77

8-
#ifdef AMREX_USE_EB
9-
108
#include <AMReX_EBFabFactory.H>
119
#include <AMReX_MultiFab.H>
1210

11+
1312
void init_EBFabFactory (py::module& m)
1413
{
1514
using namespace amrex;
@@ -39,5 +38,3 @@ void init_EBFabFactory (py::module& m)
3938
"Make EBFArrayBoxFactory for given Geometry, BoxArray and DistributionMapping"
4039
);
4140
}
42-
43-
#endif

0 commit comments

Comments
 (0)