Show
Ignore:
Timestamp:
03/10/10 11:16:33 (2 years ago)
Author:
apdavison
Message:

A few connector-related fixes, plus a new unit test for distance-dependent weights.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/nest/simulator.py

    r718 r725  
    219219        """The ID of the post-synaptic neuron.""" 
    220220        tgt = ID(nest.GetStatus([self.id()], 'target')[0]) 
    221         tgt.parent = self.parent.parent.pre 
     221        tgt.parent = self.parent.parent.post 
    222222        tgt.local = nest.GetStatus([tgt], 'local')[0] 
    223223        return tgt