diff --git a/AMDiS/src/parallel/PetscSolverFeti.cc b/AMDiS/src/parallel/PetscSolverFeti.cc index d2ecad852369032afbc54cd8cda1d3792d3bd542..d6e536c49bf8033def7afda0e4c1ad367b649184 100644 --- a/AMDiS/src/parallel/PetscSolverFeti.cc +++ b/AMDiS/src/parallel/PetscSolverFeti.cc @@ -1928,7 +1928,7 @@ namespace AMDiS { MatMult(mat_lagrange, tmp_b0, tmp_lagrange); } else { Vec tmp_mu; - MatGetVecs(mat_augmented_lagrange, PETSC_NULL, &tmp_mu); + MatGetVecs(mat_augmented_lagrange, &tmp_mu, PETSC_NULL); Vec vec_array[2] = {tmp_primal0, tmp_mu}; Vec vec_nest; VecCreateNest(PETSC_COMM_WORLD, 2, PETSC_NULL, vec_array, &vec_nest); diff --git a/AMDiS/src/parallel/PetscSolverFetiOperators.cc b/AMDiS/src/parallel/PetscSolverFetiOperators.cc index fb6c2ad319c39d89c1f8a9fef6c1eabc9b60ce07..092032751de230fbf4d8b0a243d3f33fda980e33 100644 --- a/AMDiS/src/parallel/PetscSolverFetiOperators.cc +++ b/AMDiS/src/parallel/PetscSolverFetiOperators.cc @@ -135,7 +135,7 @@ namespace AMDiS { FetiData* data = static_cast<FetiData*>(ctx); Vec vec_mu0, vec_mu1; - MatGetVecs(*(data->mat_augmented_lagrange), PETSC_NULL, &vec_mu0); + MatGetVecs(*(data->mat_augmented_lagrange), &vec_mu0, PETSC_NULL); VecDuplicate(vec_mu0, &vec_mu1); MatMultTranspose(*(data->mat_lagrange), x, data->tmp_vec_b0);