Skip to content

Commit

Permalink
Remove dubious sizehint!'s
Browse files Browse the repository at this point in the history
  • Loading branch information
garrison committed Oct 10, 2015
1 parent 58750b5 commit 8c6f1df
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/ExactDiag.jl
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,6 @@ function operator_matrix(hs::HilbertSpace, apply_operator, args...)
rows = Int[]
cols = Int[]
vals = Complex128[]
if length(hs.indexer) > 1
sizehint!(rows, length(hs.indexer))
sizehint!(cols, length(hs.indexer))
sizehint!(vals, length(hs.indexer))
end

j = 1
while j <= length(hs.indexer)
Expand Down

0 comments on commit 8c6f1df

Please sign in to comment.