Am Montag, 13. Mai 2022, finden Wartungsarbeiten am Gitlab-Server (Update auf neue Version statt). Der Dienst wird daher am Montag für einige Zeit nicht verfügbar sein.
On Monday, May 13th 2022, the Gitlab server will be updated. The service will therefore not be accessible for some time on Monday.

Commit e9e5e487 authored by Thomas Witkowski's avatar Thomas Witkowski
Browse files

Fixed small problem

parent c21d2182
......@@ -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);
......
......@@ -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);
......
Markdown is supported
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