OpenFermion
OpenFermion copied to clipboard
Inconsistent returns in double_factorize
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