Skip to content

Commit 41aa8eb

Browse files
committed
fix narrowing conversion
1 parent a148d88 commit 41aa8eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/exec/static_thread_pool.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1453,7 +1453,7 @@ namespace experimental::execution
14531453
if constexpr (Parallelize)
14541454
{
14551455
return static_cast<std::uint32_t>(
1456-
__umin({shape_, static_cast<Shape>(pool_.available_parallelism())}));
1456+
__umin({std::size_t(shape_), std::size_t(pool_.available_parallelism())}));
14571457
}
14581458
else
14591459
{

0 commit comments

Comments
 (0)