diff --git a/src/vt/registry/auto/auto_registry_common.h b/src/vt/registry/auto/auto_registry_common.h index eba3e47dc7..f309021a77 100644 --- a/src/vt/registry/auto/auto_registry_common.h +++ b/src/vt/registry/auto/auto_registry_common.h @@ -128,7 +128,7 @@ struct MapsDispatcher final : BaseMapsDispatcher { num_nodes ); } else { - vtAssert(false, "Invalid function type for map handler"); + vtAbort("Invalid function type for map handler"); return uninitialized_destination; } } @@ -153,7 +153,7 @@ struct ScatterDispatcher final : BaseScatterDispatcher { if constexpr (std::is_same_v*>) { fp(static_cast(msg)); } else { - vtAssert(false, "Invalid function type for scatter handler"); + vtAbort("Invalid function type for scatter handler"); } }