abeb059b0543978d7596693c76a88ab9bd4db9a4,mahotas/labeled.py,,labeled_min,#Any#Any#,423

Before Change


    -------
    maxs : 1-d ndarray of ``array.dtype``
    """
    _check_array_labeled(array, labeled, "labeled_min")
    maxv = labeled.max() + 1
    output = np.empty(maxv, dtype=array.dtype)
    _labeled.labeled_max_min(array, labeled, output, False)
    return output

After Change


    -------
    maxs : 1-d ndarray of ``array.dtype``
    """
    labeled = _as_labeled(array, labeled, "labeled_min")
    maxv = labeled.max() + 1
    output = np.empty(maxv, dtype=array.dtype)
    _labeled.labeled_max_min(array, labeled, output, False)
    return output
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: luispedro/mahotas
Commit Name: abeb059b0543978d7596693c76a88ab9bd4db9a4
Time: 2014-05-10
Author: luis@luispedro.org
File Name: mahotas/labeled.py
Class Name:
Method Name: labeled_min


Project Name: luispedro/mahotas
Commit Name: abeb059b0543978d7596693c76a88ab9bd4db9a4
Time: 2014-05-10
Author: luis@luispedro.org
File Name: mahotas/labeled.py
Class Name:
Method Name: labeled_sum


Project Name: luispedro/mahotas
Commit Name: abeb059b0543978d7596693c76a88ab9bd4db9a4
Time: 2014-05-10
Author: luis@luispedro.org
File Name: mahotas/labeled.py
Class Name:
Method Name: labeled_max