Piro: fix for NoxSolver class. (related to issue gahansen/Albany#402)
Created by: mperego
When Piro performs a solve, the solution needs to be stored as the last response, however this was not happening in the case of adjoint sensitivites. This PR fixes that behavior.
@trilinos/piro
Description
Motivation and Context
Related to issue gahansen/Albany#402
How Has This Been Tested?
Checklist
-
My commit messages mention the appropriate GitHub issue numbers. -
My code follows the code style of the affected package(s). -
My change requires a change to the documentation. -
I have updated the documentation accordingly. -
I have read the code contribution guidelines for this project. -
I have added tests to cover my changes. -
All new and existing tests passed. -
No new compiler warnings were introduced. -
These changes break backwards compatibility.