From 3a0f080824ee3054881f2c4aae5823c882de0e78 Mon Sep 17 00:00:00 2001 From: Thibault Hallouin <thibault.hallouin@inrae.fr> Date: Wed, 4 Jan 2023 19:29:09 +0100 Subject: [PATCH] add missing second template argument for xoptional --- include/evalhyd/evald.hpp | 2 +- include/evalhyd/evalp.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/evalhyd/evald.hpp b/include/evalhyd/evald.hpp index 88e0868..4e45cf6 100644 --- a/include/evalhyd/evald.hpp +++ b/include/evalhyd/evald.hpp @@ -167,7 +167,7 @@ namespace evalhyd xtl::missing<double>(), const xt::xexpression<XB2>& t_msk = XB2({}), const xt::xtensor<std::array<char, 32>, 1>& m_cdt = {}, - xtl::xoptional<const std::unordered_map<std::string, int>> bootstrap = + xtl::xoptional<const std::unordered_map<std::string, int>, bool> bootstrap = xtl::missing<const std::unordered_map<std::string, int>>(), const std::vector<std::string>& dts = {} ) diff --git a/include/evalhyd/evalp.hpp b/include/evalhyd/evalp.hpp index 02505cb..1a9e14b 100644 --- a/include/evalhyd/evalp.hpp +++ b/include/evalhyd/evalp.hpp @@ -145,7 +145,7 @@ namespace evalhyd const xt::xexpression<XD2>& q_thr = XD2({}), const xt::xexpression<XB4>& t_msk = XB4({}), const xt::xtensor<std::array<char, 32>, 2>& m_cdt = {}, - xtl::xoptional<const std::unordered_map<std::string, int>> bootstrap = + xtl::xoptional<const std::unordered_map<std::string, int>, bool> bootstrap = xtl::missing<const std::unordered_map<std::string, int>>(), const std::vector<std::string>& dts = {} ) -- GitLab