diff options
| author | Romain GARBAGE <romain.garbage@inria.fr> | 2026-03-06 15:35:21 +0100 |
|---|---|---|
| committer | Romain GARBAGE <romain.garbage@inria.fr> | 2026-03-06 16:10:10 +0100 |
| commit | 5481c67233f71f359652399bff88d83285be3b76 (patch) | |
| tree | d9f350bb161e05d90d8a93b74f3df7ec08728e40 /patches | |
| parent | 4c856006fc14a0afad8deefb6c1951ae717f7e2b (diff) | |
algebra: composyx: Fix package after Chameleon upgrade.
Chameleon upgrade caused an API breakage in Composyx.
* guix-science/packages/algebra.scm (composyx): Fix API breakage from
Chameleon.
* patches/composyx-chameleon-1.4.patch: New file.
Diffstat (limited to 'patches')
| -rw-r--r-- | patches/composyx-chameleon-1.4.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/composyx-chameleon-1.4.patch b/patches/composyx-chameleon-1.4.patch new file mode 100644 index 0000000..2d613ba --- /dev/null +++ b/patches/composyx-chameleon-1.4.patch | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | # Fixes API breakage in Composyx after Chameleon upgrade to version 1.4. | ||
| 2 | diff --git a/include/composyx/solver/ChameleonSolver.hpp b/include/composyx/solver/ChameleonSolver.hpp | ||
| 3 | index 4ab3f9e9..f3a5bfce 100644 | ||
| 4 | --- a/include/composyx/solver/ChameleonSolver.hpp | ||
| 5 | +++ b/include/composyx/solver/ChameleonSolver.hpp | ||
| 6 | @@ -82,7 +82,7 @@ public: | ||
| 7 | CHAMELEON_Desc_Destroy(&_chamT); | ||
| 8 | } | ||
| 9 | if (_chamIPIV != nullptr) { | ||
| 10 | - CHAMELEON_Ipiv_Destroy(&_chamIPIV, _chamA); | ||
| 11 | + CHAMELEON_Ipiv_Destroy(&_chamIPIV); | ||
| 12 | } | ||
| 13 | if (_chamA != nullptr) { | ||
| 14 | CHAMELEON_Desc_Destroy(&_chamA); | ||
