db12c7e1c3d2060ae697ada4da9ed5b2707138d8,scipy/fftpack/helper.py,,rfftfreq,#Any#Any#,10

Before Change


    array([ 0.  ,  1.25,  1.25,  2.5 ,  2.5 ,  3.75,  3.75,  5.  ])

    
    if n != int(n) or n < 0:
        raise ValueError("n = %s is not valid. "
                         "n must be a nonnegative integer." % n)

After Change


    array([ 0.  ,  1.25,  1.25,  2.5 ,  2.5 ,  3.75,  3.75,  5.  ])

    
    n = operator.index(n)
    if n < 0:
        raise ValueError("n = %s is not valid. "
                         "n must be a nonnegative integer." % n)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: scipy/scipy
Commit Name: db12c7e1c3d2060ae697ada4da9ed5b2707138d8
Time: 2017-07-30
Author: pav@iki.fi
File Name: scipy/fftpack/helper.py
Class Name:
Method Name: rfftfreq


Project Name: pytorch/pytorch
Commit Name: 594a66d778a660faed0b0fbbe1dd8c2c318707ff
Time: 2021-02-10
Author: mruberry@fb.com
File Name: torch/testing/__init__.py
Class Name:
Method Name: _unravel_index


Project Name: biolab/orange3
Commit Name: 6d076e0448dff8934a795acde929f4ef9e913852
Time: 2016-10-14
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/visualize/owparallelgraph.py
Class Name: OWParallelGraph
Method Name: select_color