ad85d996d9cee4289d03cd552a51da4c05ce7ea2,qiskit_aqua/algorithms/components/optimizers/__init__.py,,,#,29

Before Change


    from .nlopts.isres import ISRES
    __all__ += ["CRS", "DIRECT_L", "DIRECT_L_RAND", "ESCH", "ISRES"]
except ImportError:
    raise ImportWarning("nlopt cannot be imported.")

After Change


    from .nlopts.isres import ISRES
    __all__ += ["CRS", "DIRECT_L", "DIRECT_L_RAND", "ESCH", "ISRES"]
except ImportError:
    logger.info("nlopt is not installed. please install it if you want to use them.")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: Qiskit/qiskit-aqua
Commit Name: ad85d996d9cee4289d03cd552a51da4c05ce7ea2
Time: 2018-11-20
Author: chenrich@us.ibm.com
File Name: qiskit_aqua/algorithms/components/optimizers/__init__.py
Class Name:
Method Name:


Project Name: Qiskit/qiskit-aqua
Commit Name: ad85d996d9cee4289d03cd552a51da4c05ce7ea2
Time: 2018-11-20
Author: chenrich@us.ibm.com
File Name: qiskit_aqua/algorithms/classical/__init__.py
Class Name:
Method Name:


Project Name: Qiskit/qiskit-aqua
Commit Name: ad85d996d9cee4289d03cd552a51da4c05ce7ea2
Time: 2018-11-20
Author: chenrich@us.ibm.com
File Name: qiskit_aqua/algorithms/components/variational_forms/__init__.py
Class Name:
Method Name: