fommil/matrix-toolkits-java — pull request #47 by jbasilico (2014-05-16 05:01:57+00:00)
Title: Fixed issue where SparseVector can allocate more than "size" space

Fixed issue where SparseVector can allocate more than "size" space in its underlying arrays because it was always allocating to a power of 2.

Simply enforce the maximum size when computing the new size.