mathnet/mathnet-numerics — pull request #53 by cuda (2012-10-22 11:42:36+00:00)
Title: Fix for issue 52 and a couple tweaks.

The first commit fixes issue #52.

The second commits trims the result nonZeroValue array so that it doesn't contain any extraneous elements and is the same length as nonZeroIndices.

The third commit copies the optimized version of Multiply(scalar) from Double.SparseVector to the other three. The Double version of Multiply(scalar) bypasses issue #52 and is probably why it didn't crop up sooner.