bbdfe45618cf57386b2f84109b102fd8cf6feeb7,scipy/linalg/decomp_qr.py,,qr_multiply,#Any#Any#Any#Any#Any#Any#Any#,176

Before Change


    c = numpy.asarray_chkfinite(c)
    onedim = c.ndim == 1
    if onedim:
        c = c.reshape(1, len(c))
        if mode == "left":
            c = c.T

    a = numpy.asarray(a)  // chkfinite done in qr

After Change


            raise ValueError("Array shapes are not compatible for Q @ c"
                             " operation: {} vs {}".format(a.shape, c.shape))
    else:
        if M != c.shape[1]:
            raise ValueError("Array shapes are not compatible for c @ Q"
                             " operation: {} vs {}".format(c.shape, a.shape))

    raw = qr(a, overwrite_a, None, "raw", pivoting)
    Q, tau = raw[0]

    gor_un_mqr, = get_lapack_funcs(("ormqr",), (Q,))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: scipy/scipy
Commit Name: bbdfe45618cf57386b2f84109b102fd8cf6feeb7
Time: 2018-01-16
Author: ilhanpolat@gmail.com
File Name: scipy/linalg/decomp_qr.py
Class Name:
Method Name: qr_multiply


Project Name: scikit-optimize/scikit-optimize
Commit Name: 77550cc1f3ccf9537265d127b0f25aa790d2b4b5
Time: 2018-11-07
Author: hinnefe2@illinois.edu
File Name: skopt/acquisition.py
Class Name:
Method Name: gaussian_ei


Project Name: scikit-optimize/scikit-optimize
Commit Name: 77550cc1f3ccf9537265d127b0f25aa790d2b4b5
Time: 2018-11-07
Author: hinnefe2@illinois.edu
File Name: skopt/acquisition.py
Class Name:
Method Name: gaussian_pi