Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
basilib committed Dec 5, 2024
1 parent 3f7ac98 commit 09244f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vayesta/ewf/ufragment.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,12 @@ def get_fragment_energy(self, c1, c2, hamil=None, fock=None, axis1="fragment", c
else:
assert len(c2) == 3
caa, cab, cbb = c2

# Remove padding
caa = caa[oa, oa, va, va]
cab = cab[oa, ob, va, vb]
cbb = cbb[ob, ob, vb, vb]

e_doubles = (
einsum("ijab,iajb", caa, gaa) / 4
- einsum("ijab,ibja", caa, gaa) / 4
Expand Down

0 comments on commit 09244f9

Please sign in to comment.