Skip to content
Snippets Groups Projects
Unverified Commit 8e2c908e authored by Nora Abi Akar's avatar Nora Abi Akar Committed by GitHub
Browse files

Fix simulation::add_sampler cell_group dispatch (#1654)

* Fielding an add_sampler call while having no probes is not an error.
parent 0edf8554
No related branches found
No related tags found
No related merge requests found
......@@ -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
......@@ -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
......
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