Skip to content

Commit

Permalink
Merge pull request #173 from UCBoulder/bug/correct-bug-where-the-line…
Browse files Browse the repository at this point in the history
…search-norm-wasnt-incrementing

MAINT: Corrected bug where the line-search target norm didn't increme…
  • Loading branch information
NateAM committed Sep 18, 2024
2 parents 3eef8d6 + f4fbb83 commit b8b09e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/sphinx/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ Bug Fixes
- Corrected issue where the wrong Jacobian was being used in checkDescentDirection (:pull:`156`). By `Nathan Miller`_.
- Corrected bug when forming an Eigen::Map (pull:`164`). By `Nathan Miller`_.
- Corrected bug where the cohesions can go negative (pull:`165`). By `Nathan Miller`_.
- Corrected bug where the line search target residual didn't reset (pull:`173`). By `Nathan Miller`_.

Bug Fixes
=========
Expand Down
2 changes: 1 addition & 1 deletion src/cpp/tardigrade_hydra.h
Original file line number Diff line number Diff line change
Expand Up @@ -1848,7 +1848,7 @@ namespace tardigradeHydra{

void setTolerance( const floatVector &tolerance );

void incrementIteration( ){ _iteration++; }
void incrementIteration( ){ _iteration++; resetLSIteration( ); }

void incrementLSIteration( ){ _LSIteration++; }

Expand Down

0 comments on commit b8b09e6

Please sign in to comment.