0631ff303707f1f4a6ea50959d44f624dd4cf8f3,scipy/special/basic.py,,lqn,#Any#Any#,1264

Before Change


    
    if not (isscalar(n) and isscalar(z)):
        raise ValueError("arguments must be scalars.")
    if (n != floor(n)) or (n < 0):
        raise ValueError("n must be a non-negative integer.")
    if (n < 1):
        n1 = 1
    else:
        n1 = n

After Change


    
    if not (isscalar(n) and isscalar(z)):
        raise ValueError("arguments must be scalars.")
    n = _nonneg_int_or_fail(n, "n")
    if (n < 1):
        n1 = 1
    else:
        n1 = n
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 10

Instances


Project Name: scipy/scipy
Commit Name: 0631ff303707f1f4a6ea50959d44f624dd4cf8f3
Time: 2017-07-30
Author: endolith@gmail.com
File Name: scipy/special/basic.py
Class Name:
Method Name: lqn


Project Name: scipy/scipy
Commit Name: 0631ff303707f1f4a6ea50959d44f624dd4cf8f3
Time: 2017-07-30
Author: endolith@gmail.com
File Name: scipy/special/basic.py
Class Name:
Method Name: riccati_yn


Project Name: scipy/scipy
Commit Name: 0631ff303707f1f4a6ea50959d44f624dd4cf8f3
Time: 2017-07-30
Author: endolith@gmail.com
File Name: scipy/special/basic.py
Class Name:
Method Name: riccati_jn


Project Name: scipy/scipy
Commit Name: 0631ff303707f1f4a6ea50959d44f624dd4cf8f3
Time: 2017-07-30
Author: endolith@gmail.com
File Name: scipy/special/basic.py
Class Name:
Method Name: lpn