From 8edfef8b2c1b5cf23e56f31f870befe2107d2391 Mon Sep 17 00:00:00 2001 From: Thorsten Hater <24411438+thorstenhater@users.noreply.github.com> Date: Mon, 22 Aug 2022 09:17:13 +0200 Subject: [PATCH] Make points hashsble. (#1950) --- arbor/include/arbor/morph/primitives.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/arbor/include/arbor/morph/primitives.hpp b/arbor/include/arbor/morph/primitives.hpp index 6c5d64bf..cdb6472a 100644 --- a/arbor/include/arbor/morph/primitives.hpp +++ b/arbor/include/arbor/morph/primitives.hpp @@ -122,3 +122,4 @@ ARB_ARBOR_API bool test_invariants(const mcable_list&); ARB_DEFINE_HASH(arb::mcable, a.branch, a.prox_pos, a.dist_pos); ARB_DEFINE_HASH(arb::mlocation, a.branch, a.pos); +ARB_DEFINE_HASH(arb::mpoint, a.x, a.y, a.z, a.radius); -- GitLab