Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

cause Matrix.columns to be redefined to just return Matrix._columns a…

…fter the columns have been computed.
  • Loading branch information...
commit 188935c4788ff14fe51475a5292d198b10465e4b 1 parent bb2b2f4
@tarballs-are-good tarballs-are-good authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  matrix.py
View
1  matrix.py
@@ -34,6 +34,7 @@ def columns(self):
rows = self.rows()
self._columns = [[i[j] for i in rows]
for j in xrange(len(rows[0]))]
+ self.columns = lambda s: s._columns
return self._columns
def field(self):
Please sign in to comment.
Something went wrong with that request. Please try again.