c9e8356cf6458e6a6316fd014fdc55ad3251aadb,skimage/color/colorconv.py,,_convert,#Any#Any#,489

Before Change


    arr = np.reshape(arr, (3, -1))
    out = np.dot(matrix, arr)
    out.shape = oldshape
    out = np.swapaxes(out, -1, 0)

    return np.ascontiguousarray(out)


def xyz2rgb(xyz):
    XYZ to RGB color space conversion.

After Change


    
    arr = _prepare_colorarray(arr)

    return np.dot(arr, matrix.T.copy())


def xyz2rgb(xyz):
    XYZ to RGB color space conversion.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: scikit-image/scikit-image
Commit Name: c9e8356cf6458e6a6316fd014fdc55ad3251aadb
Time: 2016-05-01
Author: aizvorski@gmail.com
File Name: skimage/color/colorconv.py
Class Name:
Method Name: _convert


Project Name: mne-tools/mne-python
Commit Name: 1391ad239bfbc1ad989bda0f578a397b96db4c66
Time: 2020-07-14
Author: larson.eric.d@gmail.com
File Name: mne/utils/linalg.py
Class Name:
Method Name: sqrtm_sym


Project Name: NeuromorphicProcessorProject/snn_toolbox
Commit Name: 36a963ee1611081ab3d442040573ffc877aa13cb
Time: 2019-04-11
Author: bodo.rueckauer@intel.com
File Name: snntoolbox/simulation/target_simulators/loihi_target_sim.py
Class Name: SNN
Method Name: get_vmem