2344e4105a44fa929aa6fb82597c2ac81bef5171,scipy/sparse/linalg/dsolve/linsolve.py,,spsolve,#Any#Any#Any#Any#,45

Before Change


            // Dense b
            Afactsolve = factorized(A)
            x = empty(b.shape, dtype=A.dtype)
            for j in range(b.shape[1]):
                x[:,j] = Afactsolve(b[:,j])

    return x

After Change


                warn("Matrix is exactly singular", MatrixRankWarning)
                x.fill(np.nan)
            if b_is_vector:
                x = x.ravel()
        else:
            // b is sparse
            Afactsolve = factorized(A)
            tempj = empty(M, dtype=int)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 4

Instances


Project Name: scipy/scipy
Commit Name: 2344e4105a44fa929aa6fb82597c2ac81bef5171
Time: 2014-02-21
Author: pav@iki.fi
File Name: scipy/sparse/linalg/dsolve/linsolve.py
Class Name:
Method Name: spsolve


Project Name: NeuromorphicProcessorProject/snn_toolbox
Commit Name: 9b254aaf76efaa0a3789a67137c9817684862cf9
Time: 2019-07-11
Author: bodo.rueckauer@intel.com
File Name: snntoolbox/simulation/target_simulators/loihi_target_sim.py
Class Name: SNN
Method Name: set_inputs


Project Name: AIRLab-POLIMI/mushroom
Commit Name: c702968d83449f3a6aad3a5cec6cc0b2aafd78c5
Time: 2017-09-27
Author: carloderamo@gmail.com
File Name: mushroom/algorithms/dqn.py
Class Name: RDQN
Method Name: fit


Project Name: scipy/scipy
Commit Name: 325c94cb9f5e8eb5159dadb122dce7e413bb4bf4
Time: 2016-12-06
Author: tyler.je.reddy@gmail.com
File Name: scipy/spatial/_spherical_voronoi.py
Class Name: SphericalVoronoi
Method Name: _calc_vertices_regions


Project Name: scikit-image/scikit-image
Commit Name: a346268a461ef2a403ed8e8da6e9e446c741e75b
Time: 2017-10-25
Author: jni.soma@gmail.com
File Name: skimage/measure/_moments.py
Class Name:
Method Name: moments_normalized


Project Name: nilearn/nilearn
Commit Name: b28f80346270231ff2ef253af7ef4c5cd37f0916
Time: 2014-03-31
Author: virgile.fritsch@gmail.com
File Name: plot_localizer_mass_univariate.py
Class Name:
Method Name: