13aad99e18c8a36133f9e06c186842c769f8cc1b,scipy/optimize/_lsq_trf.py,,trf,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,245

Before Change


        iteration += 1

    active_mask = find_active_constraints(x, lb, ub, rtol=xtol)
    return OptimizeResult(
        x=x, cost=cost, fun=f_true, jac=J, grad=g, optimality=g_norm,
        active_mask=active_mask, nfev=nfev, njev=njev, status=0)

After Change



        iteration += 1

    if termination_status is None:
        termination_status = 0

    active_mask = find_active_constraints(x, lb, ub, rtol=xtol)
    return OptimizeResult(
        x=x, cost=cost, fun=f_true, jac=J, grad=g, optimality=g_norm,
        active_mask=active_mask, nfev=nfev, njev=njev,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: scipy/scipy
Commit Name: 13aad99e18c8a36133f9e06c186842c769f8cc1b
Time: 2015-08-02
Author: n59_ru@hotmail.com
File Name: scipy/optimize/_lsq_trf.py
Class Name:
Method Name: trf


Project Name: scipy/scipy
Commit Name: 13aad99e18c8a36133f9e06c186842c769f8cc1b
Time: 2015-08-02
Author: n59_ru@hotmail.com
File Name: scipy/optimize/_lsq_dogbox.py
Class Name:
Method Name: dogbox


Project Name: GPflow/GPflowOpt
Commit Name: 92462a6bffca3b98e0bddc52e2ed23f40576c51a
Time: 2018-08-21
Author: ivo.couckuyt@ugent.be
File Name: gpflowopt/bo.py
Class Name: BayesianOptimizer
Method Name: _create_bo_result