Skip to content
Snippets Groups Projects
Commit f0520460 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

python: don't expose is_approx for sparse types

parent 36fdab2f
No related branches found
No related tags found
No related merge requests found
......@@ -38,14 +38,14 @@ void exposeIsApprox() {
"Returns True if A is approximately equal to B, within the "
"precision determined by prec.");
bp::def("is_approx",
(bool (*)(const Eigen::SparseMatrixBase<SparseMatrixXs> &,
const Eigen::SparseMatrixBase<SparseMatrixXs> &,
const RealScalar &)) &
is_approx,
(bp::arg("A"), bp::arg("B"), bp::arg("prec") = dummy_precision),
"Returns True if A is approximately equal to B, within the "
"precision determined by prec.");
// bp::def("is_approx",
// (bool (*)(const Eigen::SparseMatrixBase<SparseMatrixXs> &,
// const Eigen::SparseMatrixBase<SparseMatrixXs> &,
// const RealScalar &)) &
// is_approx,
// (bp::arg("A"), bp::arg("B"), bp::arg("prec") = dummy_precision),
// "Returns True if A is approximately equal to B, within the "
// "precision determined by prec.");
}
BOOST_PYTHON_MODULE(eigenpy_pywrap) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment