summaryrefslogtreecommitdiff
path: root/patches/composyx-chameleon-1.4.patch
blob: 2d613ba0936144b8cbe5c9096ec98be13e8c7017 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Fixes API breakage in Composyx after Chameleon upgrade to version 1.4.
diff --git a/include/composyx/solver/ChameleonSolver.hpp b/include/composyx/solver/ChameleonSolver.hpp
index 4ab3f9e9..f3a5bfce 100644
--- a/include/composyx/solver/ChameleonSolver.hpp
+++ b/include/composyx/solver/ChameleonSolver.hpp
@@ -82,7 +82,7 @@ public:
       CHAMELEON_Desc_Destroy(&_chamT);
     }
     if (_chamIPIV != nullptr) {
-      CHAMELEON_Ipiv_Destroy(&_chamIPIV, _chamA);
+      CHAMELEON_Ipiv_Destroy(&_chamIPIV);
     }
     if (_chamA != nullptr) {
       CHAMELEON_Desc_Destroy(&_chamA);