Skip to content

Commit

Permalink
Force push to master to trigger tests. Is this a fix for the edmet fa…
Browse files Browse the repository at this point in the history
…iling test?
  • Loading branch information
George Booth committed Aug 12, 2024
1 parent 7f3101c commit e6e8ef5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vayesta/core/qemb/uqemb.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def check_fragment_symmetry(self, dm1, charge_tol=1e-6, spin_tol=1e-6):
for group in frags:
parent, children = group[0], group[1:]
for child in children:
charge_err, spin_err = parent.get_tsymmetry_error(child, dm1=dm1)
charge_err, spin_err = parent.get_symmetry_error(child, dm1=dm1)
if (charge_err > charge_tol) or (spin_err > spin_tol):
raise RuntimeError(
"%s and %s not symmetric: charge error= %.3e spin error= %.3e !"
Expand Down
2 changes: 1 addition & 1 deletion vayesta/rpa/ssrpa.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ def ao2mo(self, mo_coeff=None, compact=False):
elif self.mf._eri is not None:
eris = pyscf.ao2mo.kernel(self.mf._eri, mo_coeff, compact=compact)
else:
eris = self.mol.ao2mo(mo_coeff, compact=compact)
eris = self.mf.mol.ao2mo(mo_coeff, compact=compact)
if not compact:
if isinstance(mo_coeff, np.ndarray) and mo_coeff.ndim == 2:
shape = 4 * [mo_coeff.shape[-1]]
Expand Down

0 comments on commit e6e8ef5

Please sign in to comment.