diff --git a/src/vt/collective/reduce/reduce.impl.h b/src/vt/collective/reduce/reduce.impl.h index 8f92e5cbe3..df8f73c905 100644 --- a/src/vt/collective/reduce/reduce.impl.h +++ b/src/vt/collective/reduce/reduce.impl.h @@ -110,9 +110,6 @@ Reduce::PendingSendType Reduce::reduce( ReduceNumType num_contrib, VirtualProxyType proxy, ObjGroupProxyType objgroup ) { auto msg_ptr = promoteMsg(msg); - // This currently will only set the out parameter in_seq when the pending send - // is resolved -- this might not be desirable as the pointer may have become - // invalid. return PendingSendType{envelopeGetEpoch(msg_ptr->env), [=](){ reduceImmediate< MessageT, f >(root, msg_ptr.get(), tag, in_seq, num_contrib, proxy, objgroup); } };