Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
trac #16032: These matrices should be sparse
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanncohen committed Mar 31, 2014
1 parent 7dcff95 commit f6da4b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/combinat/designs/incidence_structures.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ def incidence_matrix(self):
v = len(self.points())
blks = self.blocks()
b = len(blks)
A = Matrix(ZZ, v, b)
A = Matrix(ZZ, v, b, sparse=True)
for j, b in enumerate(blks):
for i in b:
A[i, j] = 1
Expand Down

0 comments on commit f6da4b7

Please sign in to comment.