Skip to content

Commit

Permalink
BUG: use initial seed param in _clone_and_simulate
Browse files Browse the repository at this point in the history
Use the parameter prng_seedcore_initial
  • Loading branch information
Blake Caldwell authored and rythorpe committed Oct 21, 2020
1 parent 5ca211a commit 737739e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hnn_core/parallel_backends.py
Expand Up @@ -31,8 +31,8 @@ def _clone_and_simulate(net, trial_idx, prng_seedcore_initial):

# XXX this should be built into NetworkBuilder
# update prng_seedcore params to provide jitter between trials
for param_key in net.params['prng_*'].keys():
net.params[param_key] += trial_idx
for param_key in prng_seedcore_initial.keys():
net.params[param_key] = prng_seedcore_initial[param_key] + trial_idx

neuron_net = NetworkBuilder(net)
dpl = _simulate_single_trial(neuron_net, trial_idx)
Expand Down

0 comments on commit 737739e

Please sign in to comment.