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

BUG: adjointSolverManager - corrected indexing. Fixes #1381

parent 09b91bbd
Branches
Tags
No related merge requests found
......@@ -260,7 +260,7 @@ Foam::scalar Foam::adjointSolverManager::objectiveValue()
for (const label solveri : objectiveSolverIDs_)
{
objectiveManager& objManager =
adjointSolvers_[objectiveSolverIDs_[solveri]].getObjectiveManager();
adjointSolvers_[solveri].getObjectiveManager();
objValue += objManager.print();
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment