Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
obackhouse committed Feb 28, 2024
1 parent da1cedd commit 310d6ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dyson/expressions/ccsd.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ def __init__(self, *args, ccsd=None, t1=None, t2=None, l1=None, l2=None, **kwarg
if ccsd is None:
ccsd = cc.CCSD(self.mf, mo_coeff=self.mo_coeff, mo_occ=self.mo_occ)
ccsd.verbose = 0

# Update amplitudes if provided as kwargs
self.t1 = t1 if t1 is not None else ccsd.t1
self.t2 = t2 if t2 is not None else ccsd.t2
self.t2 = t2 if t2 is not None else ccsd.t2
self.l1 = l1 if l1 is not None else ccsd.l1
self.l2 = l2 if l2 is not None else ccsd.l2

Expand Down Expand Up @@ -119,7 +119,7 @@ def __init__(self, *args, ccsd=None, t1=None, t2=None, l1=None, l2=None, **kwarg

# Update amplitudes if provided as kwargs
self.t1 = t1 if t1 is not None else ccsd.t1
self.t2 = t2 if t2 is not None else ccsd.t2
self.t2 = t2 if t2 is not None else ccsd.t2
self.l1 = l1 if l1 is not None else ccsd.l1
self.l2 = l2 if l2 is not None else ccsd.l2

Expand Down

0 comments on commit 310d6ff

Please sign in to comment.