de4221552870b1f11a02e411074db84da9b837a5,scipy/lib/lapack/tests/common.py,,,#,5

Before Change


    CLAPACK_IS_EMPTY = False

if not FLAPACK_IS_EMPTY:
    FUNCS_FLAPACK = {"ssygv" : flapack.ssygv,
                     "dsygv": flapack.dsygv,
                     "ssygvd" : flapack.ssygvd,
                     "dsygvd" : flapack.dsygvd,
                     "ssyev" : flapack.ssyev,
                     "dsyev": flapack.dsyev,
                     "ssyevr" : flapack.ssyevr,
                     "dsyevr" : flapack.dsyevr,
                     "sgehrd" : flapack.sgehrd,
                     "dgehrd" : flapack.dgehrd,
                     "sgebal" : flapack.sgebal,
                     "dgebal": flapack.dgebal}
else:
    FUNCS_FLAPACK = None

if not CLAPACK_IS_EMPTY:
    FUNCS_CLAPACK = {"ssygv" : clapack.ssygv,
                     "dsygv": clapack.dsygv,
                     "ssygvd" : clapack.ssygvd,
                     "dsygvd" : clapack.dsygvd,
                     "ssyev" : clapack.ssyev,
                     "dsyev": clapack.dsyev,
                     "ssyevr" : clapack.ssyevr,
                     "dsyevr" : clapack.dsyevr,
                     "sgehrd" : flapack.sgehrd,
                     "dgehrd" : flapack.dgehrd,
                     "sgebal" : clapack.sgebal,
                     "dgebal": clapack.dgebal}
else:
    FUNCS_CLAPACK = None

PREC = {np.float32: 5, np.float: 12}

After Change


else:
    CLAPACK_IS_EMPTY = False

funcs = ["ssygv", "dsygv", "ssygvd", "dsygvd", "ssyev", "dsyev", "ssyevr",
         "dsyevr", "sgehrd", "dgehrd", "sgebal", "dgebal"]

if not FLAPACK_IS_EMPTY:
    FUNCS_FLAPACK = {}
    for f in funcs:
        FUNCS_FLAPACK[f] = getattr(flapack, f)
else:
    FUNCS_FLAPACK = None

if not CLAPACK_IS_EMPTY:
    FUNCS_CLAPACK = {}
    for f in funcs:
        FUNCS_CLAPACK[f] = getattr(clapack, f)
else:
    FUNCS_CLAPACK = None

PREC = {np.float32: 5, np.float: 12}
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 11

Instances


Project Name: scipy/scipy
Commit Name: de4221552870b1f11a02e411074db84da9b837a5
Time: 2008-11-10
Author: cournape@gmail.com
File Name: scipy/lib/lapack/tests/common.py
Class Name:
Method Name:


Project Name: scipy/scipy
Commit Name: de4221552870b1f11a02e411074db84da9b837a5
Time: 2008-11-10
Author: cournape@gmail.com
File Name: scipy/lib/lapack/tests/common.py
Class Name:
Method Name:


Project Name: IndicoDataSolutions/finetune
Commit Name: bb8cf918f0a6b0f63db15c2fd34f5d314ff51b02
Time: 2019-06-20
Author: matthew.bayer@indico.io
File Name: finetune/input_pipeline.py
Class Name: BasePipeline
Method Name: get_target_input_fn


Project Name: IndicoDataSolutions/finetune
Commit Name: 3052e961e54ead28c717b6bbf5c785946e727fa9
Time: 2019-06-20
Author: matthew.bayer@indico.io
File Name: finetune/input_pipeline.py
Class Name: BasePipeline
Method Name: get_target_input_fn