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

Before Change



        // group by generator indices to produce
        // unsorted regions in nested list
        groups = [list(list(zip(*list(g)))[1])
                  for k, g in itertools.groupby(array_associations,
                                                lambda t: t[0])]

        self.regions = groups

    def sort_vertices_of_regions(self):

After Change



        // split flattened groups to get nested list of unsorted regions
        groups = [list(flattened_groups[intervals[i]:intervals[i + 1]])
                  for i in range(len(intervals) - 1)]
        self.regions = groups

    def sort_vertices_of_regions(self):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

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: bokeh/bokeh
Commit Name: ce4cf57bd51148b0eeb6c4ddfb28605a5db9af15
Time: 2016-02-01
Author: bryanv@continuum.io
File Name: bokeh/core/compat/bokeh_renderer.py
Class Name: BokehRenderer
Method Name: close_figure


Project Name: daavoo/pyntcloud
Commit Name: b6106d3044f7800af8710cbdc998ed78f7e6588c
Time: 2016-11-30
Author: daviddelaiglesiacastro@gmail.com
File Name: pyntcloud/structures/octree.py
Class Name: Octree
Method Name: get_level_as_sf