Skip to content

Commit

Permalink
Fix WeightDependentPostPre Post-synaptic update
Browse files Browse the repository at this point in the history
Continue Fix WeightDependentPostPre Post-synaptic update #534
  • Loading branch information
Hananel-Hazan committed Jan 2, 2022
1 parent 11285c2 commit f2eabd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindsnet/learning/learning.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ def _conv1d_connection_update(self, **kwargs) -> None:
update += (
self.nu[1]
* post.view(self.connection.w.size())
* (self.wmax - self.connection.wmin)
* (self.wmax - self.connection.w)
)

self.connection.w += update
Expand Down

0 comments on commit f2eabd7

Please sign in to comment.