Skip to content

Commit 8350037

Browse files
committed
Try again to fix
1 parent 347a411 commit 8350037

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Base/RealVect.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ void init_RealVect(py::module &m) {
125125
.def_static("zero_vector", &RealVect::TheZeroVector)
126126
.def_static("unit_vector", &RealVect::TheUnitVector)
127127

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

0 commit comments

Comments
 (0)