Commit 77fc3128 authored by Baptiste Esteban's avatar Baptiste Esteban
Browse files

Fix directional hqueue compiled with fsanitize=undefined

parent 9c6fd011
Pipeline #27850 passed with stages
in 22 minutes and 34 seconds
......@@ -48,7 +48,7 @@ namespace mln::morpho::details
static_assert(sizeof(Key) <= 2, "Key should have a size of at least 2");
static constexpr std::size_t m_ndir = N::after_offsets().size();
static constexpr std::size_t m_ndir = decltype(N::after_offsets())::extent;
static constexpr std::size_t m_nlevels = 1 << std::numeric_limits<Key>::digits;
std::array<std::shared_ptr<queue_type>, 2> m_queues;
std::size_t m_current_dir;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment