0ca22397dc3ec10f6f990d0d17d95e7725a18ea0,sympy/solvers/recurr.py,,rsolve_hyper,#Any#Any#Any#,458

Before Change


            if coeff is not S.Zero:
                poly += coeff * Z**i

        constants = []

        for z in roots(poly, Z).keys():
            if z.is_zero:
                continue

After Change


                continue

            recurr_coeffs = [polys[i].as_expr()*z**i for i in range(r + 1)]
            if d == 0 and 0 != Add(*[recurr_coeffs[j]*j for j in range(1, r + 1)]):
                // faster inline check (than calling rsolve_poly) for a
                // constant solution to a constant coefficient recurrence.
                C = Symbol("C" + str(len(symbols)))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: sympy/sympy
Commit Name: 0ca22397dc3ec10f6f990d0d17d95e7725a18ea0
Time: 2020-11-25
Author: ehren.m@gmail.com
File Name: sympy/solvers/recurr.py
Class Name:
Method Name: rsolve_hyper


Project Name: CellProfiler/CellProfiler
Commit Name: acd1379758bbe73a4740820ff9ffbdde061e09e5
Time: 2009-10-02
Author: afraser@1fc53939-2000-0410-845c-e8453a809027
File Name: pyCellProfiler/cellprofiler/gui/cpframe.py
Class Name: CPFrame
Method Name: __layout_logo


Project Name: deepchem/deepchem
Commit Name: 74672a0cb8d5f42eedb4298c2c5f4ac5390994fc
Time: 2018-03-19
Author: abhigyan0987@gmail.com
File Name: deepchem/models/tensorgraph/models/scscore.py
Class Name: Scscore
Method Name: Scscore_1


Project Name: Pinafore/qb
Commit Name: 001a7346ee9c7ef951dfdd48eb44d5b597d77b78
Time: 2017-05-07
Author: davis.yoshida@gmail.com
File Name: qanta/guesser/mem_nn.py
Class Name: MemNNGuesser
Method Name: build_model


Project Name: SheffieldML/GPy
Commit Name: 47e4026141b0712777eda3713b150f43d2756c11
Time: 2014-02-28
Author: ibinbei@gmail.com
File Name: GPy/kern/_src/kern.py
Class Name: Kern
Method Name: add