a923db7d2a26ab5c91566cc206d191bf56af4d66,tests/test_solver_compare.py,,test_compare,#Any#Any#,50

Before Change


  exec("my = solvers.%s" % solvername)
  exec("sp = %s" % solvername)
  my = locals()["my"] if "my" in locals() else my
  sp = locals()["sp"] if "sp" in locals() else sp
  maxiter = kwds["maxiter"] if "maxiter" in kwds else None
  maxfun = kwds["maxfun"] if "maxfun" in kwds else None
  my_x = my(rosen, x0, disp=0, full_output=True, **kwds)

After Change


  return 

def test_compare(solvername, x0, **kwds):
  my = eval("solvers.%s" % solvername)
  sp = eval("%s" % solvername)
  maxiter = kwds["maxiter"] if "maxiter" in kwds else None
  maxfun = kwds["maxfun"] if "maxfun" in kwds else None
  my_x = my(rosen, x0, disp=0, full_output=True, **kwds)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: uqfoundation/mystic
Commit Name: a923db7d2a26ab5c91566cc206d191bf56af4d66
Time: 2017-06-24
Author: mmckerns@968178ea-60bd-409e-af13-df8a517b6005
File Name: tests/test_solver_compare.py
Class Name:
Method Name: test_compare


Project Name: sassoftware/python-dlpy
Commit Name: 965277c1763c0d65f1de2fe00f8a617b44fe9804
Time: 2019-04-01
Author: docair@dlgrd008.unx.sas.com
File Name: dlpy/model_conversion/sas_caffe_parse.py
Class Name:
Method Name: caffe_full_connect_layer


Project Name: sassoftware/python-dlpy
Commit Name: 965277c1763c0d65f1de2fe00f8a617b44fe9804
Time: 2019-04-01
Author: docair@dlgrd008.unx.sas.com
File Name: dlpy/model_conversion/sas_caffe_parse.py
Class Name:
Method Name: caffe_residual_layer


Project Name: uqfoundation/mystic
Commit Name: a923db7d2a26ab5c91566cc206d191bf56af4d66
Time: 2017-06-24
Author: mmckerns@968178ea-60bd-409e-af13-df8a517b6005
File Name: tests/test_solver_compare.py
Class Name:
Method Name: test_solvers