6f6513963c3f568e5ad985a17a4aee0192223935,scipy/spatial/_spherical_voronoi.py,SphericalVoronoi,_calc_vertices_regions,#SphericalVoronoi#,244

Before Change



        // array_associations will have shape: (6N-12, 2)
        array_associations = np.dstack((point_indices, tri_indices))[0]
        array_associations = array_associations[np.lexsort((
                                                array_associations[...,1],
                                                array_associations[...,0]))]
        array_associations = array_associations.astype(np.intp)

        // group by generator indices to produce

After Change


        // indices will have shape: (6N-12,)
        indices = np.argsort(point_indices, kind="mergesort")
        // flattened_groups will have shape: (6N-12,)
        flattened_groups = tri_indices[indices].astype(np.intp)
        // intervals will have shape: (N+1,)
        intervals = np.cumsum(np.bincount(point_indices + 1))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: scipy/scipy
Commit Name: 6f6513963c3f568e5ad985a17a4aee0192223935
Time: 2019-07-17
Author: pete.mahler.larsen@gmail.com
File Name: scipy/spatial/_spherical_voronoi.py
Class Name: SphericalVoronoi
Method Name: _calc_vertices_regions


Project Name: scipy/scipy
Commit Name: f1ce87f99e143246d55b9f45b704563f5f5ac2a7
Time: 2016-02-09
Author: perimosocordiae@gmail.com
File Name: scipy/sparse/csc.py
Class Name: csc_matrix
Method Name: nonzero


Project Name: CellProfiler/CellProfiler
Commit Name: 862c3ed042ada33d2824e67e47bd92ef0881cf00
Time: 2017-04-19
Author: mcquin@users.noreply.github.com
File Name: cellprofiler/modules/relateobjects.py
Class Name: RelateObjects
Method Name: calculate_minimum_distances