21483e7cb92e8580bc6a3df844c1ae8631e3db7c,scipy/linalg/tests/test_decomp_update.py,BaseQRupdate,generate,#BaseQRupdate#Any#Any#Any#,935

Before Change


        u = np.random.random((q.shape[0], p))
        v = np.random.random((r.shape[1], p))

        u = np.squeeze(u)
        v = np.squeeze(v)

        if np.iscomplexobj(self.dtype.type(1)):
            b = np.random.random(u.shape)

After Change



        // super call set the seed...
        if p == 1:
            u = np.random.random(q.shape[0])
            v = np.random.random(r.shape[1])
        else:
            u = np.random.random((q.shape[0], p))
            v = np.random.random((r.shape[1], p))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: scipy/scipy
Commit Name: 21483e7cb92e8580bc6a3df844c1ae8631e3db7c
Time: 2015-05-06
Author: ewm@redtetrahedron.org
File Name: scipy/linalg/tests/test_decomp_update.py
Class Name: BaseQRupdate
Method Name: generate


Project Name: scipy/scipy
Commit Name: 21483e7cb92e8580bc6a3df844c1ae8631e3db7c
Time: 2015-05-06
Author: ewm@redtetrahedron.org
File Name: scipy/linalg/tests/test_decomp_update.py
Class Name: BaseQRinsert
Method Name: generate


Project Name: ray-project/ray
Commit Name: aa3fd62cac3a0f759f7d884eae3d202a5c72103b
Time: 2020-06-25
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/policy.py
Class Name: RandomEndpointPolicy
Method Name: flush