diff --git a/ChangeLog.md b/ChangeLog.md index 60a1f0cf8..43a71ce31 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -9,6 +9,9 @@ More detailed information about incremental changes can be found in the ### 3.14.7 (2022-xx-yy) +- Fixed that ComputeSensitivityMatrix() of sIpopt assumed that there are + no more than two parameters [#578, by Andrea Vescovini]. + ### 3.14.6 (2022-05-02) - Fixed mapping of meta data for inequalities, e.g., constraint names, diff --git a/contrib/sIPOPT/src/SensAlgorithm.cpp b/contrib/sIPOPT/src/SensAlgorithm.cpp index fe4e806bf..c895ea882 100644 --- a/contrib/sIPOPT/src/SensAlgorithm.cpp +++ b/contrib/sIPOPT/src/SensAlgorithm.cpp @@ -207,7 +207,7 @@ SensAlgorithmExitStatus SensAlgorithm::ComputeSensitivityMatrix(void) SmartPtr < IteratesVector > trialcopy; SmartPtr < DenseVectorSpace > delta_u_space; - delta_u_space = new DenseVectorSpace(2); + delta_u_space = new DenseVectorSpace(np_); SmartPtr < DenseVector > delta_u = new DenseVector(GetRawPtr(ConstPtr(delta_u_space)));