madlib/madlib — pull request #111 by haradh1 (2012-02-04 03:13:24+00:00)
Title: Cast of float array to sparse vector cannot handle null values, take two

I tried to put together aojwang's fix to use makeInplaceSparseData, but it turned out that I was wrong. It is for index/values set and casting float array doesn't have index. I changed my mind to modify underlying arr_to_sdata to let it accept NULL bitmap, so that double memory copies of array isn't needed.