Skip to content

Commit

Permalink
Merge pull request #55 from lanl/bkk_typo
Browse files Browse the repository at this point in the history
Should be == instead of =.
  • Loading branch information
Yurlungur authored Sep 13, 2024
2 parents 77acce1 + ab43d0b commit debb60c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_array.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ TEST_CASE("array nominal element access (GPU)", "[array][GPU]") {
// Can we read from it on the GPU?
int count = 0;
auto func = PORTABLE_LAMBDA(const int i, int &count) mutable {
if (arr[i] = i + 1) {
if (arr[i] == i + 1) {
++count;
}
};
Expand Down

0 comments on commit debb60c

Please sign in to comment.