Skip to content

Commit 204574d

Browse files
committed
[SofaTypes] FIX Binding_Quat to synchronize with change in Quater.h
1 parent cce9754 commit 204574d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bindings/SofaTypes/src/SofaPython3/SofaTypes/Binding_Quat.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ void moduleAddQuat(py::module &m) {
8585
(void (Quat::*)(const Quat &, const Quat &, double, bool)) &
8686
Quat::slerp,
8787
"a"_a, "b"_a, "t"_a, "allowdFlip"_a = true);
88-
p.def("slerp", (Quat(Quat::*)(Quat &, double)) & Quat::slerp, "q1"_a, "t"_a);
88+
p.def("slerp", (Quat (Quat::*)(const Quat&, Quat::value_type) const) &Quat::slerp, "q1"_a, "t"_a);
8989
p.def("slerp2", &Quat::slerp2, "q1"_a, "t"_a);
9090

9191
p.def(py::self + py::self);

0 commit comments

Comments
 (0)