We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a148d88 commit 41aa8ebCopy full SHA for 41aa8eb
include/exec/static_thread_pool.hpp
@@ -1453,7 +1453,7 @@ namespace experimental::execution
1453
if constexpr (Parallelize)
1454
{
1455
return static_cast<std::uint32_t>(
1456
- __umin({shape_, static_cast<Shape>(pool_.available_parallelism())}));
+ __umin({std::size_t(shape_), std::size_t(pool_.available_parallelism())}));
1457
}
1458
else
1459
0 commit comments