Skip to content

Incorrect indexing in adjointSolverManager

In the following the index should simply be solveri and not objectiveSolverIDs_[solveri]

    scalar objValue(Zero);
    for (const label solveri : objectiveSolverIDs_)
    {
        objectiveManager& objManager =
            adjointSolvers_[objectiveSolverIDs_[solveri]].getObjectiveManager();
        objValue += objManager.print();
    }

## Reattaching the author to the issue ticket: @andy ##

Edited by Kutalmış Berçin