Skip to content

Commit

Permalink
missing change for #36
Browse files Browse the repository at this point in the history
  • Loading branch information
mlubin committed Sep 21, 2013
1 parent 119f879 commit 4c60ae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function empty!(v::IndexedVector)
elts = v.elts
nzidx = v.nzidx
for i in 1:v.nnz
elts[nzidx[i]] = 0
elts[nzidx[i]] = zero(T)
end
v.nnz = 0
end
Expand Down

0 comments on commit 4c60ae2

Please sign in to comment.