Skip to content

Inconsistent returns in double_factorize #925

Open
@mhucka

Description

@mhucka

In file src/openfermion/resource_estimates/pbc/df/df_integrals.py,
lines 159-172, the function double_factorize is declared as returning None, but there's a return statement where it returns something other than none:

        if self.df_factors is not None:
            return self.df_factors

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions