JuliaLang/julia — pull request #977 by doobwa (2012-06-26 20:21:32+00:00)
Title: Small bug fix for sparse matrix multiplication.

After creating the result in sparse format, the vectors containing the nonzero values and the row locations of those values are incorrect. Their length is still equal to the sum of the total nonzeros in both matrices, which is not always the case. They need to be trimmed to be the same length as the true number of nonzero values, which can be determined by the last value of the "column pointer" vector.