6175d753748722b21e2773c3cb69dbf85a67b958,scipy/linalg/decomp.py,,eig,#Any#Any#Any#Any#Any#Any#Any#Any#,122

Before Change


        w = wr + _I * wi
        w = _make_eigvals(w, None, homogeneous_eigvals)

    if info < 0:
        raise ValueError("illegal value in %d-th argument of internal geev" %
                         -info)
    if info > 0:
        raise LinAlgError("eig algorithm did not converge (only eigenvalues "
                          "with order >= %d have converged)" % info)

    only_real = numpy.all(w.imag == 0.0)
    if not (geev.typecode in "cz" or only_real):
        t = w.dtype.char
        if left:

After Change


        w = wr + _I * wi
        w = _make_eigvals(w, None, homogeneous_eigvals)

    _check_info(info, "eig algorithm (geev)",
                positive="did not converge (only eigenvalues "
                         "with order >= %d have converged)")

    only_real = numpy.all(w.imag == 0.0)
    if not (geev.typecode in "cz" or only_real):
        t = w.dtype.char
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 11

Instances


Project Name: scipy/scipy
Commit Name: 6175d753748722b21e2773c3cb69dbf85a67b958
Time: 2017-08-31
Author: larson.eric.d@gmail.com
File Name: scipy/linalg/decomp.py
Class Name:
Method Name: eig


Project Name: scipy/scipy
Commit Name: 6175d753748722b21e2773c3cb69dbf85a67b958
Time: 2017-08-31
Author: larson.eric.d@gmail.com
File Name: scipy/linalg/decomp.py
Class Name:
Method Name: eig


Project Name: scipy/scipy
Commit Name: 6175d753748722b21e2773c3cb69dbf85a67b958
Time: 2017-08-31
Author: larson.eric.d@gmail.com
File Name: scipy/linalg/decomp.py
Class Name:
Method Name: eig_tridiagonal


Project Name: scipy/scipy
Commit Name: 6175d753748722b21e2773c3cb69dbf85a67b958
Time: 2017-08-31
Author: larson.eric.d@gmail.com
File Name: scipy/linalg/decomp.py
Class Name:
Method Name: _geneig