From db0ef84ad7796017c00b2b1ff65db11fdcd683c3 Mon Sep 17 00:00:00 2001 From: Sebastian Koch Date: Fri, 27 May 2016 16:03:06 +0200 Subject: [PATCH] Fixed assertion problem in debug mode Former-commit-id: 71091ca3f5889b983109e5134f9902d38143fdae --- python/py_igl/py_AABB.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/py_igl/py_AABB.cpp b/python/py_igl/py_AABB.cpp index eb9884532..580c49731 100644 --- a/python/py_igl/py_AABB.cpp +++ b/python/py_igl/py_AABB.cpp @@ -5,7 +5,7 @@ AABB .def(py::init& >()) .def("init",[](igl::AABB& tree, const Eigen::MatrixXd& V, const Eigen::MatrixXi& Ele) { - return tree.init(V, Ele, Eigen::Matrix(), Eigen::Matrix(), Eigen::MatrixXi(), 0); + return tree.init(V, Ele, Eigen::Matrix(), Eigen::Matrix(), Eigen::VectorXi(), 0); }) .def("squared_distance", [](const igl::AABB& tree, const Eigen::MatrixXd& V, const Eigen::MatrixXi& Ele, const Eigen::MatrixXd& P, Eigen::MatrixXd& sqrD, Eigen::MatrixXi& I, Eigen::MatrixXd& C) {