Skip to content

Commit 47501c7

Browse files
This should be compatible with both amrex versions
1 parent 8350037 commit 47501c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Base/RealVect.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ void init_RealVect(py::module &m) {
126126
.def_static("unit_vector", &RealVect::TheUnitVector)
127127

128128
.def("BASISREALV", [](int dir) -> RealVect {
129-
return amrex::BASISREALV<AMREX_SPACEDIM>(dir); },
129+
return amrex::BASISREALV(dir); },
130130
"return basis vector in given coordinate direction")
131131
;
132132

0 commit comments

Comments
 (0)