diff --git a/arbor/cable_cell.cpp b/arbor/cable_cell.cpp index 3334d95f82..1d71050402 100644 --- a/arbor/cable_cell.cpp +++ b/arbor/cable_cell.cpp @@ -235,6 +235,7 @@ void cable_cell_impl::init() { case 8: { paint(rc.cables, std::get(what), rc.region); break; } case 9: { paint(rc.cables, std::get(what), rc.region); break; } case 10: { paint(rc.cables, std::get>(what), rc.region); break; } + default: throw arbor_internal_error{"Unknown paintable variant"}; } } @@ -259,6 +260,7 @@ void cable_cell_impl::init() { case 1: { place(lc.places, std::get(what), label); break; } case 2: { place(lc.places, std::get(what), label); break; } case 3: { place(lc.places, std::get(what), label); break; } + default: throw arbor_internal_error{"Unknown placeable variant"}; } } }