Those should be zeros, and will need a shape arg. It also almost looks like
CSR or CSC...


On 29 January 2014 11:26, Pauli Virtanen <notifications@github.com> wrote:

>  In scipy/sparse/data.py:
>
> >
> > -                get_min_or_max = getattr(ith_col_data, min_or_max)
> > -                out_mat[0, i] = get_min_or_max()
> > -            return self.__class__(out_mat)
> > +        out = np.zeros(len(mat.indptr) - 1, dtype=self.dtype)
>
> Looks almost like COO, coo_matrix((major_index,
> np.ones(len(major_index),dtype=np.intc)), value))
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/scipy/scipy/pull/3248/files#r9252272>
> .
>