c404a34388d1b103519c1cbbc762645a5c299a72,scipy/sparse/tests/test_base.py,_TestCommon,test_elmul,#_TestCommon#,217

Before Change


        temp = self.dat.copy()
        temp[0,2] = 2.0
        temp = self.spmatrix(temp)
        c = temp.multiply(self.datsp)
        assert_array_equal(c.todense(),[[1,0,0,4],[9,0,1,0],[0,4,0,0]])

        // complex
        A = array([[1-2j,0+5j,-1+0j],[4-3j,-3+6j,5]])

After Change



    def test_elmul(self):
        // real/real
        A = array([[4,0,9],[2,-3,5]])
        B = array([[0,7,0],[0,-4,0]])
        Asp = self.spmatrix(A)
        Bsp = self.spmatrix(B)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: scipy/scipy
Commit Name: c404a34388d1b103519c1cbbc762645a5c299a72
Time: 2008-06-02
Author: wnbell@localhost
File Name: scipy/sparse/tests/test_base.py
Class Name: _TestCommon
Method Name: test_elmul


Project Name: facebookresearch/Horizon
Commit Name: e91a9941d0ee6d1198e4b05bbd39ce16b5c0d569
Time: 2018-02-27
Author: jjg@fb.com
File Name: ml/rl/training/discrete_action_trainer.py
Class Name: DiscreteActionTrainer
Method Name: get_max_q_values


Project Name: danforthcenter/plantcv
Commit Name: 3c8df2fc218bd42544ac0eebb8dbfc6724c27a14
Time: 2019-06-06
Author: noahfahlgren@gmail.com
File Name: plantcv/plantcv/analyze_nir_intensity.py
Class Name:
Method Name: analyze_nir_intensity