Skip to content

Commit

Permalink
Fixes for RNG
Browse files Browse the repository at this point in the history
Also contains ModelDBRepository#1
  • Loading branch information
JCGoran committed Nov 13, 2024
1 parent ca6d355 commit 0e5ce71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions NregNsyn.hoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ printf("irregular & asynchronous input. frequency = %d \n", freq)

objref r
r = new Random()
r.Random123()


for i=0, totSyn-1 { //totSyn is the total # of synapses
Expand Down
1 change: 1 addition & 0 deletions regNsyn.hoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ printf("regular & asynchronous input. frequency = %d \n", freq)

objref r
r = new Random()
r.Random123()

for i=0, totSyn-1 { //totSyn is the total # of synapses
Ens[i].start=0 //Ens: the reference to the NetStim
Expand Down

0 comments on commit 0e5ce71

Please sign in to comment.