diff --git a/arbor/benchmark_cell_group.cpp b/arbor/benchmark_cell_group.cpp index a2ed5f34ddef0219eba640aedab38184cd8537d5..d5692531aef3ef7bfb8591155b1c19e787cde6d7 100644 --- a/arbor/benchmark_cell_group.cpp +++ b/arbor/benchmark_cell_group.cpp @@ -98,9 +98,6 @@ void benchmark_cell_group::add_sampler(sampler_association_handle h, cell_member_predicate probe_ids, schedule sched, sampler_function fn, - sampling_policy policy) -{ - throw std::logic_error("A benchmark_cell group doen't support sampling of internal state!"); -} + sampling_policy policy) {} } // namespace arb diff --git a/arbor/spike_source_cell_group.cpp b/arbor/spike_source_cell_group.cpp index 0b61bdb98ae1287ede4d14a2736e1c8b82492aaa..ee3be61b489c84759af8ec4301588f99537a8f91 100644 --- a/arbor/spike_source_cell_group.cpp +++ b/arbor/spike_source_cell_group.cpp @@ -74,9 +74,7 @@ void spike_source_cell_group::clear_spikes() { spikes_.clear(); } -void spike_source_cell_group::add_sampler(sampler_association_handle, cell_member_predicate, schedule, sampler_function, sampling_policy) { - throw std::logic_error("A spike_source_cell group doen't support sampling of internal state!"); -} +void spike_source_cell_group::add_sampler(sampler_association_handle, cell_member_predicate, schedule, sampler_function, sampling_policy) {} } // namespace arb