Skip to content

Commit

Permalink
Fix for #472
Browse files Browse the repository at this point in the history
  • Loading branch information
apdavison committed Apr 27, 2017
1 parent f3a4dc8 commit 62e58a1
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions pyNN/nest/recording.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,11 @@ def __init__(self, to_memory=True):

def connect_to_cells(self):
assert not self._connected
nest.Connect(list(self._all_ids), list(self.device), {'rule': 'all_to_all'}, {'model': 'static_synapse'})
nest.Connect(list(self._all_ids),
list(self.device),
{'rule': 'all_to_all'},
{'model': 'static_synapse',
'delay': simulator.state.min_delay})
self._connected = True

def get_spiketimes(self, desired_ids):
Expand Down Expand Up @@ -122,7 +126,11 @@ def __init__(self, to_memory=True):

def connect_to_cells(self):
assert not self._connected
nest.Connect(list(self.device), list(self._all_ids), {'rule': 'all_to_all'}, {'model': 'static_synapse'})
nest.Connect(list(self.device),
list(self._all_ids),
{'rule': 'all_to_all'},
{'model': 'static_synapse',
'delay': simulator.state.min_delay})
self._connected = True

@property
Expand Down

0 comments on commit 62e58a1

Please sign in to comment.