419b97c0e7c1c013c6b5bef52ae2e81a2753547c,dipy/core/optimize.py,,,#,13

Before Change


import scipy

scipy_version = scipy.__version__
scipy_version = StrictVersion(scipy_version.split(".dev")[0])
minimize_version = StrictVersion("0.12")

if scipy_version >= minimize_version:

    SCIPY_LESS_0_12 = False
    from scipy.optimize import minimize

After Change


import numpy as np
import scipy

SCIPY_LESS_0_12 = LooseVersion(scipy.__version__) < "0.12"

if not SCIPY_LESS_0_12:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: nipy/dipy
Commit Name: 419b97c0e7c1c013c6b5bef52ae2e81a2753547c
Time: 2014-11-14
Author: garyfallidis@gmail.com
File Name: dipy/core/optimize.py
Class Name:
Method Name:


Project Name: nipy/dipy
Commit Name: 3d8011f9ce1dba31df7c83f07dcf481a65926aa4
Time: 2014-11-21
Author: garyfallidis@gmail.com
File Name: dipy/core/optimize.py
Class Name:
Method Name:


Project Name: mlflow/mlflow
Commit Name: 7e6613ad69e75e400c7fba061c30e100fe66a629
Time: 2019-09-29
Author: 39497939+juntai-zheng@users.noreply.github.com
File Name: mlflow/tensorflow.py
Class Name:
Method Name: autolog