From ec9f5d67ba18d507d59228b2748dea1dc54baf06 Mon Sep 17 00:00:00 2001
From: Sebastian Schmitt <sebastian.schmitt@kip.uni-heidelberg.de>
Date: Fri, 24 Sep 2021 10:34:39 +0200
Subject: [PATCH] Rephrase exception message in case of missing segment (#1659)

---
 arbor/morph/morphexcept.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arbor/morph/morphexcept.cpp b/arbor/morph/morphexcept.cpp
index bac840de..0090040a 100644
--- a/arbor/morph/morphexcept.cpp
+++ b/arbor/morph/morphexcept.cpp
@@ -25,7 +25,7 @@ no_such_branch::no_such_branch(msize_t bid):
 {}
 
 no_such_segment::no_such_segment(msize_t id):
-    arbor_exception(pprintf("segment {} out of bounds", id)),
+    arbor_exception(pprintf("no such segment {}", id)),
     sid(id)
 {}
 
-- 
GitLab