Skip to content

Commit

Permalink
Update test_parreduce.cpp: declare sum as long int
Browse files Browse the repository at this point in the history
  • Loading branch information
vlkale authored Apr 4, 2024
1 parent 65b2ac5 commit 5389966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/sampler/test_parreduce.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ struct Tester {
//! out 2 invocations, and there is a single matcher with a regular
//! expression to check this.

int sum;
long int sum;
for (int iter = 0; iter < 150; iter++) {
sum = 0;
Kokkos::parallel_reduce("named kernel",
Expand Down

0 comments on commit 5389966

Please sign in to comment.