From 310d6ffd7df67bc9790d940889322ef5971a4440 Mon Sep 17 00:00:00 2001 From: Oliver Backhouse Date: Wed, 28 Feb 2024 20:37:42 +0000 Subject: [PATCH] Linting --- dyson/expressions/ccsd.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dyson/expressions/ccsd.py b/dyson/expressions/ccsd.py index d94d9df..4af07bd 100644 --- a/dyson/expressions/ccsd.py +++ b/dyson/expressions/ccsd.py @@ -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 @@ -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