Skip to content

Commit

Permalink
Fix of coarse operator. Additive block now also works.
Browse files Browse the repository at this point in the history
  • Loading branch information
kyrillh committed Oct 14, 2024
1 parent 933eee1 commit c689de7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ void CoarseNonLinearSchwarzOperator<SC, LO, GO, NO>::apply(const XMultiVector &x
feddY->split();
apply(feddX, feddY, alpha, beta);
feddY->merge();
y.update(alpha, *feddY->getMergedVector()->getXpetraMultiVector(), beta);
y.update(ST::one(), *feddY->getMergedVector()->getXpetraMultiVector(), ST::zero());
}

template <class SC, class LO, class GO, class NO>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ void NonLinearSchwarzOperator<SC, LO, GO, NO>::apply(const XMultiVector &x, XMul
feddY->split();
apply(feddX, feddY, alpha, beta);
feddY->merge();
y.update(alpha, *feddY->getMergedVector()->getXpetraMultiVector(), beta);
y.update(ST::one(), *feddY->getMergedVector()->getXpetraMultiVector(), ST::zero());
}

template <class SC, class LO, class GO, class NO>
Expand Down

0 comments on commit c689de7

Please sign in to comment.