scipy/scipy — pull request #3819 by argriffing (2014-07-22 23:14:00+00:00)
Title: BUG: make a fully connected csgraph from an ndarray with no zeros

Should close https://github.com/scipy/scipy/issues/3818. A problem was that `np.ma.is_masked(x)` returns `False` if `x` is a masked array with no elements masked-out. The change in this PR might look disruptive but it passes all of the `scipy.sparse` unit tests locally, plus a new one.