From 5a0c69b376e2a44f9693ff3386c88e68022dd1b7 Mon Sep 17 00:00:00 2001 From: Michael Hines Date: Fri, 23 Feb 2024 15:36:27 -0500 Subject: [PATCH 1/2] NetStim no longer accepts MCellRan4 generator --- nrntraub/hoc/parlib2.hoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nrntraub/hoc/parlib2.hoc b/nrntraub/hoc/parlib2.hoc index b0bfe55..40d9ccb 100755 --- a/nrntraub/hoc/parlib2.hoc +++ b/nrntraub/hoc/parlib2.hoc @@ -53,7 +53,8 @@ proc par_netstim_create() {local gid localobj cell, syn, nc, ns, r r.negexp(1) // r.Isaac64(netstim_random_seedoffset + netstim_base_) r.MCellRan4(netstim_random_seedoffset + 1000*netstim_base_) - ns.pp.noiseFromRandom(r) +// ns.pp.noiseFromRandom(r) + ns.pp.noiseFromRandom123(gid, netstim_base_, 0) // compatible back to 2016 netstim_randoms.append(r) } netstim_base_ += 1 From 92a2957c17b2ff960b37ee91d6166833bc020ce1 Mon Sep 17 00:00:00 2001 From: Michael Hines Date: Mon, 26 Feb 2024 14:18:46 -0500 Subject: [PATCH 2/2] update comment in readme --- README | 1 + 1 file changed, 1 insertion(+) diff --git a/README b/README index a5ce0af..674ebf4 100644 --- a/README +++ b/README @@ -36,3 +36,4 @@ Changelog the same name. See https://github.com/neuronsimulator/nrn/pull/1992 20230420 Do not assume a full definition of Section is visible, for compatibility with nrn#2027. +20240226 Use noiseFromRandom123 for result identity between 8.2 and 9.0