Skip to content

Commit

Permalink
fix size of delta_u_space, fixes #578
Browse files Browse the repository at this point in the history
  • Loading branch information
svigerske committed Jun 23, 2022
1 parent f28ee28 commit b38e58c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion contrib/sIPOPT/src/SensAlgorithm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)));

Expand Down

0 comments on commit b38e58c

Please sign in to comment.