Commit 2899984e authored by Hans-Christian Ebke's avatar Hans-Christian Ebke

C++11: Fixed OpenMesh Python bindings.

parent 54d14e54
Pipeline #48 failed with stage
...@@ -151,12 +151,12 @@ void expose_vec(const char *_name) { ...@@ -151,12 +151,12 @@ void expose_vec(const char *_name) {
.def("vectorize", &Vector::vectorize, return_internal_reference<>()) .def("vectorize", &Vector::vectorize, return_internal_reference<>())
.def(self < self) .def(self < self)
.def("norm", &Vector::norm) .def("norm", &Vector::template norm<Scalar>)
.def("length", &Vector::length) .def("length", &Vector::template length<Scalar>)
.def("sqrnorm", &Vector::sqrnorm) .def("sqrnorm", &Vector::template sqrnorm<Scalar>)
.def("normalize", &Vector::normalize, return_internal_reference<>()) .def("normalize", &Vector::template normalize<Scalar>, return_internal_reference<>())
.def("normalized", &Vector::normalized) .def("normalized", &Vector::template normalized<Scalar>)
.def("normalize_cond", &Vector::normalize_cond, return_internal_reference<>()) .def("normalize_cond", &Vector::template normalize_cond<Scalar>, return_internal_reference<>())
.def("l1_norm", &Vector::l1_norm) .def("l1_norm", &Vector::l1_norm)
.def("l8_norm", &Vector::l8_norm) .def("l8_norm", &Vector::l8_norm)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment