05de336e95320733969c86d22a0bf0ae78d438e0,opt_einsum/parser.py,,parse_einsum_input,#,71

Before Change


    // Parse ellipses
    if "." in subscripts:
        used = subscripts.replace(".", "").replace(",", "").replace("->", "")
        unused = list(einsum_symbols_set - set(used))
        ellipse_inds = "".join(unused)
        longest = 0

        // Do we have an output to account for?
        if "->" in subscripts:

After Change


    // Parse ellipses
    if "." in subscripts:
        used = subscripts.replace(".", "").replace(",", "").replace("->", "")
        ellipse_inds = "".join(gen_unused_symbols(used, max(len(x.shape) for x in operands)))
        longest = 0

        // Do we have an output to account for?
        if "->" in subscripts:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: dgasmith/opt_einsum
Commit Name: 05de336e95320733969c86d22a0bf0ae78d438e0
Time: 2018-06-18
Author: john.gray.14@ucl.ac.uk
File Name: opt_einsum/parser.py
Class Name:
Method Name: parse_einsum_input


Project Name: oddt/oddt
Commit Name: 86698c801848975de9a21fb17093e045b6271ea3
Time: 2018-05-17
Author: maciek@wojcikowski.pl
File Name: rdkit_fixer.py
Class Name:
Method Name: PreparePDBMol


Project Name: dit/dit
Commit Name: d738388c3ac14684d384b05d7e03417a0edffdd1
Time: 2016-05-11
Author: ryangregoryjames@gmail.com
File Name: dit/multivariate/dilworth.py
Class Name:
Method Name: dilworth