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 WeightDependentPostPre Post-synaptic update #534

Merged
merged 2 commits into from
Jan 2, 2022

Conversation

ArefAz
Copy link
Contributor

@ArefAz ArefAz commented Jan 1, 2022

The difference of wmax and the actual weights had been mistakenly calculated as (self.wmax - self.connection.wmin), which was a fixed value.

ArefAz and others added 2 commits January 1, 2022 17:46
The difference of `wmax` and the actual weights had been mistakenly calculated as `(self.wmax - self.connection.wmin)`, which was a fixed value.
The same fix also needed for the conv3d_connection_update
@Hananel-Hazan
Copy link
Collaborator

Good catch! thank you for helping out!

@Hananel-Hazan Hananel-Hazan merged commit 1a9690d into BindsNET:master Jan 2, 2022
@ArefAz
Copy link
Contributor Author

ArefAz commented Jan 2, 2022

I just noticed the same error in the _conv1d_connection_update method, line 483.

Thank you!

Hananel-Hazan added a commit that referenced this pull request Jan 2, 2022
Continue Fix WeightDependentPostPre Post-synaptic update #534
@Hananel-Hazan
Copy link
Collaborator

Right! just pushed fix for that too.
Thanks again

@ArefAz ArefAz deleted the patch-1 branch January 2, 2022 15:09
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