Skip to content

Commit 5e5d93c

Browse files
committed
python/dense: fix cast of update
1 parent a7fb45c commit 5e5d93c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

bindings/python/src/expose-qpobject.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,12 @@ exposeQpObjectDense(pybind11::module_ m)
8181
.def(
8282
"update",
8383
static_cast<void (dense::QP<T>::*)(optional<dense::MatRef<T>>,
84-
optional<dense::Vec<T>>,
84+
optional<dense::VecRef<T>>,
8585
optional<dense::MatRef<T>>,
86-
optional<dense::Vec<T>>,
86+
optional<dense::VecRef<T>>,
8787
optional<dense::MatRef<T>>,
88-
optional<dense::Vec<T>>,
89-
optional<dense::Vec<T>>,
88+
optional<dense::VecRef<T>>,
89+
optional<dense::VecRef<T>>,
9090
bool update_preconditioner,
9191
optional<T>,
9292
optional<T>,

0 commit comments

Comments
 (0)