From 48e34929145fb6373a16559e8b68682a4fd54f3b Mon Sep 17 00:00:00 2001 From: Francesco Biscani Date: Mon, 29 Jan 2024 08:43:52 +0100 Subject: [PATCH 1/2] Fix for change in the heyoka API. --- heyoka/expose_expression.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/heyoka/expose_expression.cpp b/heyoka/expose_expression.cpp index 330cc6d3..a83716cf 100644 --- a/heyoka/expose_expression.cpp +++ b/heyoka/expose_expression.cpp @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include @@ -298,7 +299,7 @@ void expose_expression(py::module_ &m) "subs", [](const v_ex_t &arg, const std::variant, - std::unordered_map> &smap, + std::map> &smap, bool normalise) { return std::visit( [normalise](const auto &a, const auto &m) -> v_ex_t { return hey::subs(a, m, normalise); }, arg, smap); From 3ca0469eb25da4930c77af904c4585ab523d0841 Mon Sep 17 00:00:00 2001 From: Francesco Biscani Date: Mon, 29 Jan 2024 11:07:06 +0100 Subject: [PATCH 2/2] Ping for ci.