Changeset 2117 for trunk/brian/utils/sparse_patch/0_7_1.py
- Timestamp:
- 08/12/10 22:19:31 (22 months ago)
- Files:
-
- 1 modified
-
trunk/brian/utils/sparse_patch/0_7_1.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/brian/utils/sparse_patch/0_7_1.py
r2116 r2117 64 64 n = len(xrange(*i.indices(self.shape[0]))) 65 65 m = len(xrange(*j.indices(self.shape[1]))) 66 print index67 print n, m68 66 sparse.lil_matrix.__setitem__(self, index, W * numpy.ones((n, m))) 69 67 else:
