Skip to content

Commit

Permalink
reduce seq
Browse files Browse the repository at this point in the history
  • Loading branch information
alugowski authored Feb 7, 2024
1 parent dc3109b commit ed54ef6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/poolstl_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ TEST_CASE("reduce", "[alg][numeric]") {
#if POOLSTL_HAVE_CXX17_LIB
auto seq = std::reduce(poolstl::par_if(false), v.cbegin(), v.cend());
#else
auto seq = poolstl::internal::cpp17::reduce(v.cbegin(), v.cend());
auto seq = std::reduce(poolstl::seq, v.cbegin(), v.cend());
#endif
auto par = std::reduce(poolstl::par.on(pool), v.cbegin(), v.cend());
REQUIRE(seq == par);
Expand Down

0 comments on commit ed54ef6

Please sign in to comment.