3d2daf5bb465ed63ccec41af2b8257de94f023f7,pygsp/graphs/difference.py,GraphDifference,div,#GraphDifference#Any#,243
Before Change
if self.Ne != y.shape[0]:
raise ValueError("Signal length should be the number of edges.")
return self.D.dot(y)
After Change
array([-2. , 2.82842712, -1.41421356, 0. ])
y = np.asanyarray(y)
if y.shape[0] != self.Ne:
raise ValueError("First dimension must be the number of edges "
"G.Ne = {}, got {}.".format(self.Ne, y.shape))
return self.D.dot(y)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: epfl-lts2/pygsp
Commit Name: 3d2daf5bb465ed63ccec41af2b8257de94f023f7
Time: 2019-02-28
Author: michael.defferrard@epfl.ch
File Name: pygsp/graphs/difference.py
Class Name: GraphDifference
Method Name: div
Project Name: scikit-image/scikit-image
Commit Name: 80745cf0f42296e613ae823caeb2efbb8a611284
Time: 2019-03-19
Author: juan.nunez-iglesias@monash.edu
File Name: skimage/morphology/watershed.py
Class Name:
Method Name: _validate_inputs
Project Name: scikit-image/scikit-image
Commit Name: 0e05a3bf73086c6d68fab0861ec0cfef7f3a8141
Time: 2019-03-19
Author: juan.nunez-iglesias@monash.edu
File Name: skimage/morphology/watershed.py
Class Name:
Method Name: _validate_inputs