diff --git a/main.hoc b/main.hoc index 06e7d0c..ae4b1ae 100644 --- a/main.hoc +++ b/main.hoc @@ -62,6 +62,7 @@ func pmcell_append() { //************************NEW CELLS********************************* objref randomDelay randomDelay = new Random(tonicSeed) +randomDelay.Random123() randomDelay.uniform(0, tonicPeriodMean) proc createTonicE() { @@ -81,7 +82,9 @@ proc createPM() { //***********************************CONNECTIONS*************************** objref randomConnection, randomWeight, leakRecord, napRecord // Random number generator and lists of random values randomWeight = new Random(weightSeed) +randomWeight.Random123() randomConnection = new Random(connectSeed) +randomConnection.Random123() randomConnection.uniform(0, 1) leakRecord = new Vector(numPM) napRecord = new Vector(numPM) @@ -129,6 +132,7 @@ proc wirePM() { //***********************ADDING HETEROGENIETY******************************* objref randomCells // Random number generator for cell heterogeneity randomCells = new Random(cellSeed) +randomCells.Random123() proc randomizeCells () { for i = 0, pmcells.count()-1 { diff --git a/readme.html b/readme.html index 3dbb50c..1321243 100644 --- a/readme.html +++ b/readme.html @@ -25,4 +25,8 @@ Author contact: chris.fietkiewicz@case.edu Author website: http://filer.case.edu/cxf47 + +Changelog +--------- +2024-11: Updated hoc files to use Random123