Skip to content

Commit

Permalink
Fix for AMD compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
pghysels committed Jun 19, 2023
1 parent c4ef454 commit c33aea6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sparse/SeparatorTree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ namespace strumpack {
auto k0 = kid0[node];
auto kbeg = kids.begin() + k0;
auto kend = kbeg + nc;
std::sort(kbeg, kend, [&w](auto a, auto b) {
std::sort(kbeg, kend, [&w](integer_t a, integer_t b) {
return w[a] > w[b]; });
std::vector<integer_t> sk(kbeg, kend);
integer_t wl = 0, wr = 0, ncl = 0, ncr = 0;
Expand Down

0 comments on commit c33aea6

Please sign in to comment.