Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
arbor
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
arbor-sim
arbor
Commits
8e2c908e
Unverified
Commit
8e2c908e
authored
3 years ago
by
Nora Abi Akar
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
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
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
arbor/benchmark_cell_group.cpp
+1
-4
1 addition, 4 deletions
arbor/benchmark_cell_group.cpp
arbor/spike_source_cell_group.cpp
+1
-3
1 addition, 3 deletions
arbor/spike_source_cell_group.cpp
with
2 additions
and
7 deletions
arbor/benchmark_cell_group.cpp
+
1
−
4
View file @
8e2c908e
...
...
@@ -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
This diff is collapsed.
Click to expand it.
arbor/spike_source_cell_group.cpp
+
1
−
3
View file @
8e2c908e
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment