Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix simulation::add_sampler cell_group dispatch #1654

Merged
merged 1 commit into from
Sep 9, 2021

Conversation

noraabiakar
Copy link
Contributor

Add check on dispatch to cell_group::add_sampler in simulation_state::add_sampler to avoid erroneous exceptions.

Fixes #1653

@noraabiakar noraabiakar requested a review from halfflat September 9, 2021 13:16
@noraabiakar noraabiakar marked this pull request as draft September 9, 2021 13:24
@noraabiakar noraabiakar removed the request for review from halfflat September 9, 2021 13:24
@halfflat
Copy link
Contributor

halfflat commented Sep 9, 2021

Why do we need this explicit check? Other cell group types should be able to satisfy samplers as well, in principle.

@noraabiakar noraabiakar marked this pull request as ready for review September 9, 2021 14:06
Copy link
Contributor

@halfflat halfflat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@halfflat halfflat merged commit 8e2c908 into arbor-sim:master Sep 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sampler exceptions in mixed cell_kind simulations
2 participants