Skip to content

Commit

Permalink
Update smawk.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
peon-pasado committed Dec 28, 2024
1 parent 23e50b0 commit 7369d21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/math/smawk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ std::vector<usize> smawk(const usize row_size, const usize col_size,


const auto select = [&](const usize i, const usize j, const usize k) {
//concave: return A[i][j] <= A[i][k];
//convex: return A[i][j] >= A[j][k];
//concave: return A[i][j] < A[i][k];
//convex: return A[i][j] > A[j][k];
return 1;
};

0 comments on commit 7369d21

Please sign in to comment.