diff --git a/NregNsyn.hoc b/NregNsyn.hoc index f9c93d8..c1bea91 100644 --- a/NregNsyn.hoc +++ b/NregNsyn.hoc @@ -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 diff --git a/regNsyn.hoc b/regNsyn.hoc index a19f42a..091b46b 100644 --- a/regNsyn.hoc +++ b/regNsyn.hoc @@ -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