OpenFermion icon indicating copy to clipboard operation
OpenFermion copied to clipboard

Inconsistent returns in double_factorize

Open mhucka opened this issue 11 months ago • 0 comments

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

mhucka avatar Feb 03 '25 17:02 mhucka