Skip to content

Commit

Permalink
#276: reduce: fix code to create a tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander committed Jun 13, 2023
1 parent e454bc5 commit f7a945d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vt/collective/reduce/reduce.impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Reduce::PendingSendType Reduce::reduce(Node root, Params&&... params) {
using Tuple = typename FuncTraits<decltype(f)>::TupleType;
using MsgT = ReduceTMsg<Tuple>;

auto msg = vt::makeMessage<MsgT>(std::forward<Params>(params)...);
auto msg = vt::makeMessage<MsgT>(std::tuple{std::forward<Params>(params)...});
auto id = detail::ReduceStamp{};
auto han = auto_registry::makeAutoHandlerParam<decltype(f), f, MsgT>();
msg->root_handler_ = han;
Expand Down

0 comments on commit f7a945d

Please sign in to comment.