Skip to content

Commit

Permalink
solves #1532
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Gruber committed Jan 16, 2025
1 parent f77a907 commit fe998e4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/inv_bicgstab_quda.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,7 @@ namespace quda {
r2 = blas::xmyNorm(b, r);
for (auto i = 0u; i < b.size(); i++)
if (b2[i] == 0) b2[i] = r2[i];
for (auto i = 0u; i < x.size(); i++) std::swap(y[i], x[i]);
create_alias(x_sloppy, x); // need to update alias since x has been swapped
blas::copy(y, x);
} else {
blas::copy(r, b);
r2 = b2;
Expand Down

0 comments on commit fe998e4

Please sign in to comment.