Changeset 721 for trunk/src/connectors.py
- Timestamp:
- 03/03/10 10:41:30 (2 years ago)
- Files:
-
- 1 modified
-
trunk/src/connectors.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/connectors.py
r716 r721 134 134 create = create[:projection.post.local_cells.size] 135 135 targets = projection.post.local_cells[create].tolist() 136 137 136 weights = self.get_weights(N, local)[create] 138 137 weights = common.check_weight(weights, projection.synapse_type, is_conductance) … … 541 540 p = {} 542 541 for src in projection.pre.all(): 543 d = self.space.distances(src.position, projection.post.positions) 542 local = projection.post._mask_local.flatten() 543 d = self.space.distances(src.position, projection.post.positions, post_mask=local) 544 544 p[src] = eval(self.d_expression).flatten() 545 545 if p[src].dtype == 'bool':
