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

Bug fix: properly partition networks containing one-sided gap-junction connections #1768

Closed

Conversation

noraabiakar
Copy link
Contributor

The current partition_load_balance function assumes that gap-junction connections are always double-sided (i.e. if gid x has a gap-junction connection from peer gid y, then gid y must also have a gap-junction connection from peer gid x). This used to be a requirement that was checked prior to #1682. Since then, single-sided gap-junctions are in principle allowed but partition_load_balance still operates under the double-sided gap-junction connection assumption resulting in some gids being present in multiple cell-groups.
This PR corrects the previous assumption and fixes the bug.

Fixes #1767.

@noraabiakar noraabiakar changed the title Bug fix: modify partition_load_balance to properly partition networks containing one-sided gap-junction connections Bug fix: properly partition networks containing one-sided gap-junction connections Nov 17, 2021
@noraabiakar noraabiakar marked this pull request as draft November 17, 2021 15:30
schmitts pushed a commit to schmitts/arbor that referenced this pull request Nov 25, 2021
Fix various non-standards compliant code when compiled with elevated warning levels (-Wall -Wpedantic). Here is a list of the problems addressed:

**preprocessor**
- expansion of empty `__VA_ARGS__` in `ARB_PP_FOREACH`
- named variadic macro arguments in `TRACE` macro

**glibc**
- deprecated `mallinfo` call for newer glibc versions

**simd**
- non-const C-array sizes

**modcc**
- generation of C-arrays of size 0

**switch/case**
- switch-case ranges

**tuple_foreach**
- compound literals
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.

Uni-directional gap junctions
1 participant