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

Fixes a rxd reaction problem where regions with different number of sections are grouped together. #922

Merged
merged 5 commits into from
Jan 21, 2021

Conversation

adamjhn
Copy link
Member

@adamjhn adamjhn commented Jan 15, 2021

No description provided.

@adamjhn adamjhn added bug rxd reaction-diffusion labels Jan 15, 2021
@pramodk
Copy link
Member

pramodk commented Jan 20, 2021

@adamjhn @ramcdougal : is this ready for merge? (asking in preparation for 8.0a)

@@ -180,6 +180,8 @@ def _initalize(self):
for rid, r in enumerate(self._regions):
for sid, s in enumerate(self._react_species + self._react_params):
indices = s()._indices1d(r())
if len(indices) > self.num_segments:
Copy link
Member

Choose a reason for hiding this comment

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

Do we currently support 1d subsegment discretization? I'm guessing we don't, but maybe leave a comment that this should be changed if we do in the future.

@nrnhines nrnhines merged commit 6d31448 into neuronsimulator:master Jan 21, 2021
@adamjhn adamjhn deleted the rxdregionfix branch March 21, 2021 17:19
olupton pushed a commit that referenced this pull request Dec 7, 2022
)

Otherwise it only segmentation fault in Release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug rxd reaction-diffusion
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants