Mercurial > btquotients
changeset 3:d6fb84d5d376
Fixed small typo
author | Marc Masdeu <masdeu@math.columbia.edu> |
---|---|
date | Tue, 05 Jul 2011 12:31:58 +0200 |
parents | f557a75d18d1 |
children | 50cf9efe4931 |
files | ocmodule.py |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ocmodule.py Tue Jul 05 11:33:17 2011 +0200 +++ b/ocmodule.py Tue Jul 05 12:31:58 2011 +0200 @@ -183,9 +183,7 @@ def basis(self): try: return self._basis except: pass - for jj in range(self._depth): - x=OCVnElement(self,Matrix(self._ZZp,self._depth,1,{(jj,0):1},sparse=False),quick=True) - self._basis.append(x) + self._basis=[OCVnElement(self,Matrix(self._ZZp,self._depth,1,{(jj,0):1},sparse=False),quick=True) for jj in range(self._depth)] return self._basis def base_ring(self):