Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NetStim no longer accepts MCellRan4 generator #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion nrntraub/hoc/parlib2.hoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down