Skip to content

Commit

Permalink
fix for loop
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Jul 8, 2024
1 parent fcc253e commit f28b0a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/structural_plasticity_with_stdp_2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
_i_add_pre, pre_pop, sim.OneToOneConnector(),
receptor_type='excitatory',
synapse_type=sim.StaticSynapse(weight=jee * 0.05))
for _i_add_post in range(len(i_add_post)):
for _i_add_post in i_add_post:
sim.Projection(
_i_add_post, post_pop, sim.OneToOneConnector(),
receptor_type='excitatory',
Expand Down

0 comments on commit f28b0a6

Please sign in to comment.