Skip to content

Commit f052046

Browse files
committed
python: don't expose is_approx for sparse types
1 parent 36fdab2 commit f052046

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

python/main.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ void exposeIsApprox() {
3838
"Returns True if A is approximately equal to B, within the "
3939
"precision determined by prec.");
4040

41-
bp::def("is_approx",
42-
(bool (*)(const Eigen::SparseMatrixBase<SparseMatrixXs> &,
43-
const Eigen::SparseMatrixBase<SparseMatrixXs> &,
44-
const RealScalar &)) &
45-
is_approx,
46-
(bp::arg("A"), bp::arg("B"), bp::arg("prec") = dummy_precision),
47-
"Returns True if A is approximately equal to B, within the "
48-
"precision determined by prec.");
41+
// bp::def("is_approx",
42+
// (bool (*)(const Eigen::SparseMatrixBase<SparseMatrixXs> &,
43+
// const Eigen::SparseMatrixBase<SparseMatrixXs> &,
44+
// const RealScalar &)) &
45+
// is_approx,
46+
// (bp::arg("A"), bp::arg("B"), bp::arg("prec") = dummy_precision),
47+
// "Returns True if A is approximately equal to B, within the "
48+
// "precision determined by prec.");
4949
}
5050

5151
BOOST_PYTHON_MODULE(eigenpy_pywrap) {

0 commit comments

Comments
 (0)