From cfefa6165c0279be0662a757a77606d15ae15a32 Mon Sep 17 00:00:00 2001 From: Griffin Bassman Date: Mon, 16 Oct 2023 16:21:54 -0400 Subject: [PATCH] test: std::map for sparse_weights --- vowpalwabbit/core/include/vw/core/array_parameters_sparse.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vowpalwabbit/core/include/vw/core/array_parameters_sparse.h b/vowpalwabbit/core/include/vw/core/array_parameters_sparse.h index dbebe75ed68..ae73d46dc97 100644 --- a/vowpalwabbit/core/include/vw/core/array_parameters_sparse.h +++ b/vowpalwabbit/core/include/vw/core/array_parameters_sparse.h @@ -10,8 +10,8 @@ #include #include +#include #include -#include namespace VW { @@ -20,7 +20,7 @@ class sparse_parameters; namespace details { -using weight_map = std::unordered_map>; +using weight_map = std::map>; template class sparse_iterator