Skip to content
Snippets Groups Projects
Commit 7e5fe133 authored by Andrew Heather's avatar Andrew Heather
Browse files

BUG: adjointSolverManager - corrected indexing. Fixes #1381

parent 402fb826
No related branches found
No related tags found
No related merge requests found
...@@ -260,7 +260,7 @@ Foam::scalar Foam::adjointSolverManager::objectiveValue() ...@@ -260,7 +260,7 @@ Foam::scalar Foam::adjointSolverManager::objectiveValue()
for (const label solveri : objectiveSolverIDs_) for (const label solveri : objectiveSolverIDs_)
{ {
objectiveManager& objManager = objectiveManager& objManager =
adjointSolvers_[objectiveSolverIDs_[solveri]].getObjectiveManager(); adjointSolvers_[solveri].getObjectiveManager();
objValue += objManager.print(); objValue += objManager.print();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment