Skip to content

Commit fc2f598

Browse files
add template to BASISREALV
1 parent f7c8a7b commit fc2f598

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
@@ -125,7 +125,7 @@ void init_RealVect(py::module &m) {
125125
.def_static("zero_vector", &RealVect::TheZeroVector)
126126
.def_static("unit_vector", &RealVect::TheUnitVector)
127127

128-
.def("BASISREALV", &BASISREALV, "return basis vector in given coordinate direction")
128+
.def("BASISREALV", &BASISREALV<AMREX_SPACEDIM>, "return basis vector in given coordinate direction")
129129
;
130130

131131
m.def("min", [](const RealVect& a, const RealVect& b) {

0 commit comments

Comments
 (0)