We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc2f598 commit 347a411Copy full SHA for 347a411
src/Base/RealVect.cpp
@@ -125,7 +125,9 @@ void init_RealVect(py::module &m) {
125
.def_static("zero_vector", &RealVect::TheZeroVector)
126
.def_static("unit_vector", &RealVect::TheUnitVector)
127
128
- .def("BASISREALV", &BASISREALV<AMREX_SPACEDIM>, "return basis vector in given coordinate direction")
+ .def("BASISREALV", [](int dir) {
129
+ return BASISREALV<AMREX_SPACEDIM>(dir); },
130
+ "return basis vector in given coordinate direction")
131
;
132
133
m.def("min", [](const RealVect& a, const RealVect& b) {
0 commit comments