diff --git a/Solver/linearSystemPETSc.hpp b/Solver/linearSystemPETSc.hpp index 37fd9dcf09264e8b8106b153861f02ff9bfa0bfd..289a0cbfbeadb86ee356f992a2b5c760ce90487f 100644 --- a/Solver/linearSystemPETSc.hpp +++ b/Solver/linearSystemPETSc.hpp @@ -265,7 +265,7 @@ void linearSystemPETSc<scalar>::getFromMatrix(int row, int col, scalar &val) con } template <class scalar> -void linearSystemPETSc<scalar>::addToRightHandSide(int row, const scalar &val) +void linearSystemPETSc<scalar>::addToRightHandSide(int row, const scalar &val, int ith) { PetscInt i = row; PetscScalar s = val;