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

[connect] Complete FixedTotalNum class and fix bugs #434

Merged
merged 6 commits into from
Aug 9, 2023

Conversation

Routhleck
Copy link
Collaborator

Description

Fix bugs in the connect module and Complete FixedTotalNum class. And two more functions(coo2mat_num, mat2mat_num) for FixedTotalNum to get the connection number matrix.

Now FixedTotalNum has allow_multi_conn parameter, you can choose to build connection which is not allow multiple connections between two neurons(It used to be allow it by default)

How Has This Been Tested

Add two unit test in test_random_conn.py(test_random_fix_total1, test_random_fix_total2)

@chaoming0625
Copy link
Collaborator

Excellent submission.

@chaoming0625 chaoming0625 merged commit 27db327 into brainpy:master Aug 9, 2023
19 checks passed
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.

2 participants