Skip to content

Commit 9b26578

Browse files
Fix RealVect crossProduct (#445)
Another fix for AMReX-Codes/amrex#4430
1 parent 762c637 commit 9b26578

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
@@ -93,7 +93,7 @@ void init_RealVect(py::module &m) {
9393
.def(py::self * py::self)
9494
.def("dotProduct", &RealVect::dotProduct, "Return dot product of this vector with another")
9595
#if (AMREX_SPACEDIM == 3)
96-
.def("crossProduct", &RealVect::crossProduct, "Return cross product of this vector with another")
96+
.def("crossProduct", &RealVect::crossProduct<>, "Return cross product of this vector with another")
9797
#endif
9898
.def("__mul__",
9999
py::overload_cast<Real>(&RealVect::operator*, py::const_))

0 commit comments

Comments
 (0)