Skip to content

Commit

Permalink
Merge pull request #13095 from kuljitvirk/Branch_FixBug12916_SparseDi…
Browse files Browse the repository at this point in the history
…rectUMFPACK

Fixed bug in SparseDirectUMFPACK #12916
  • Loading branch information
jppelteret committed Dec 30, 2021
2 parents 2c85484 + e89029b commit 350e729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/lac/sparse_direct.cc
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ SparseDirectUMFPACK::sort_arrays(const BlockSparseMatrix<number> &matrix)

std::swap(Ax[element], Ax[element + 1]);
if (numbers::NumberTraits<number>::is_complex == true)
std::swap(Az[cursor], Az[cursor + 1]);
std::swap(Az[element], Az[element + 1]);

++element;
}
Expand Down

0 comments on commit 350e729

Please sign in to comment.