Skip to content
This repository was archived by the owner on Sep 26, 2025. It is now read-only.

Commit c629229

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent ef7d77e commit c629229

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

bindings/python/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ function(MAKE_BINDINGS)
5757
install(
5858
TARGETS ${PYLIB_NAME}
5959
EXPORT ${TARGETS_EXPORT_NAME}
60-
DESTINATION
61-
${${PYLIB_NAME}_INSTALL_DIR}
60+
DESTINATION ${${PYLIB_NAME}_INSTALL_DIR}
6261
)
6362
endfunction()
6463

bindings/python/expose-manifold.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,16 @@ void exposeManifoldBase() {
5757
.def<BinaryFunTypeRet>("difference", &Manifold::difference,
5858
("self"_a, "x0", "x1"))
5959
.def("interpolate",
60-
(void(Manifold::*)(const ConstVectorRef &, const ConstVectorRef &,
61-
const Scalar &, VectorRef)
60+
(void (Manifold::*)(const ConstVectorRef &, const ConstVectorRef &,
61+
const Scalar &, VectorRef)
6262
const)(&Manifold::interpolate),
6363
("self"_a, "x0", "x1", "u", "out"))
64-
.def(
65-
"interpolate",
66-
(VectorXs(Manifold::*)(const ConstVectorRef &, const ConstVectorRef &,
67-
const Scalar &) const)(&Manifold::interpolate),
68-
("self"_a, "x0", "x1", "u"),
69-
"Interpolate between two points on the manifold. Allocated version.")
64+
.def("interpolate",
65+
(VectorXs (Manifold::*)(const ConstVectorRef &,
66+
const ConstVectorRef &, const Scalar &)
67+
const)(&Manifold::interpolate),
68+
("self"_a, "x0", "x1", "u"),
69+
"Interpolate between two points on the manifold. Allocated version.")
7070
.def<JacobianFunType>("Jintegrate", &Manifold::Jintegrate,
7171
("self"_a, "x", "v", "Jout", "arg"),
7272
"Compute the Jacobian of the exp operator.")

0 commit comments

Comments
 (0)