053f7c3f352a7ae6d9d2567f585012a0cf6089cf,scipy/sparse/linalg/isolve/minres.py,,,#,350

Before Change


    A = spdiags([arange(1,n+1,dtype=float)], [0], n, n, format="csr")
    M = spdiags([1.0/arange(1,n+1,dtype=float)], [0], n, n, format="csr")
    A.psolve = M.matvec
    b = 0*ones(A.shape[0])
    x = minres(A,b,tol=1e-12,maxiter=None,callback=cb)
    // x = cg(A,b,x0=b,tol=1e-12,maxiter=None,callback=cb)[0]

After Change


    A = spdiags([arange(1,n+1,dtype=float)], [0], n, n, format="csr")
    M = spdiags([1.0/arange(1,n+1,dtype=float)], [0], n, n, format="csr")
    A.psolve = M.matvec
    b = zeros(A.shape[0])
    x = minres(A,b,tol=1e-12,maxiter=None,callback=cb)
    // x = cg(A,b,x0=b,tol=1e-12,maxiter=None,callback=cb)[0]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: scipy/scipy
Commit Name: 053f7c3f352a7ae6d9d2567f585012a0cf6089cf
Time: 2019-08-08
Author: endolith@gmail.com
File Name: scipy/sparse/linalg/isolve/minres.py
Class Name:
Method Name:


Project Name: scikit-image/scikit-image
Commit Name: 43eac31b4d81927fdf2d2551016fa33a2a833cc1
Time: 2017-09-12
Author: peter@goldsborough.me
File Name: skimage/data/generate_shapes.py
Class Name:
Method Name: generate_shapes


Project Name: geomstats/geomstats
Commit Name: 940046bb78a182ef9a679b14338afe32740f2d71
Time: 2018-11-19
Author: ninamio78@gmail.com
File Name: geomstats/backend/pytorch_random.py
Class Name:
Method Name: normal