From f0440732917cd2a75ea7b7f15b8ad05a0c501c29 Mon Sep 17 00:00:00 2001 From: Roberto Rossini <71787608+robomics@users.noreply.github.com> Date: Sun, 19 Nov 2023 17:27:32 +0100 Subject: [PATCH] Fix typo in weight name to weight type mappings --- .../balancing/include/hictk/balancing/impl/weights_impl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libhictk/balancing/include/hictk/balancing/impl/weights_impl.hpp b/src/libhictk/balancing/include/hictk/balancing/impl/weights_impl.hpp index 66091930..38eb9f1b 100644 --- a/src/libhictk/balancing/include/hictk/balancing/impl/weights_impl.hpp +++ b/src/libhictk/balancing/include/hictk/balancing/impl/weights_impl.hpp @@ -85,7 +85,7 @@ inline auto Weights::infer_type(std::string_view name) -> Type { {"ICE", Type::MULTIPLICATIVE}, {"INTER_ICE", Type::MULTIPLICATIVE}, {"GW_ICE", Type::MULTIPLICATIVE}, - {"weights", Type::MULTIPLICATIVE}}}; + {"weight", Type::MULTIPLICATIVE}}}; auto it = mappings.find(name); if (it == mappings.end()) {