BoothGroup / ebcc

Coupled cluster models for both purely electron and coupled electron-boson models, with a focus on generality and model extensibility.
https://boothgroup.github.io/ebcc/
MIT License
11 stars 2 forks source link

Restore missing `del` statements #13

Closed obackhouse closed 1 year ago

obackhouse commented 1 year ago

Somewhere I messed up the garbage collection for intermediates in the code generation and pushed this to all fermionic ansatzes. This PR restores the del statements for all fermionic ansatzes.

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.02 :tada:

Comparison is base (c2f7d6d) 99.52% compared to head (59632fe) 99.54%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #13 +/- ## ========================================== + Coverage 99.52% 99.54% +0.02% ========================================== Files 48 48 Lines 72923 75936 +3013 Branches 563 563 ========================================== + Hits 72573 75592 +3019 + Misses 244 241 -3 + Partials 106 103 -3 ``` | [Impacted Files](https://codecov.io/gh/BoothGroup/ebcc/pull/13?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BoothGroup) | Coverage Δ | | |---|---|---| | [ebcc/codegen/GCCSDT.py](https://codecov.io/gh/BoothGroup/ebcc/pull/13?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BoothGroup#diff-ZWJjYy9jb2RlZ2VuL0dDQ1NEVC5weQ==) | `100.00% <ø> (ø)` | | | [ebcc/codegen/RCC2.py](https://codecov.io/gh/BoothGroup/ebcc/pull/13?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BoothGroup#diff-ZWJjYy9jb2RlZ2VuL1JDQzIucHk=) | `100.00% <ø> (ø)` | | | [ebcc/codegen/RCCSD.py](https://codecov.io/gh/BoothGroup/ebcc/pull/13?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BoothGroup#diff-ZWJjYy9jb2RlZ2VuL1JDQ1NELnB5) | `100.00% <ø> (ø)` | | | [ebcc/codegen/RCCSDT.py](https://codecov.io/gh/BoothGroup/ebcc/pull/13?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BoothGroup#diff-ZWJjYy9jb2RlZ2VuL1JDQ1NEVC5weQ==) | `100.00% <ø> (ø)` | | | [ebcc/codegen/RCCSDxTx.py](https://codecov.io/gh/BoothGroup/ebcc/pull/13?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BoothGroup#diff-ZWJjYy9jb2RlZ2VuL1JDQ1NEeFR4LnB5) | `100.00% <ø> (ø)` | | | [ebcc/codegen/UCC2.py](https://codecov.io/gh/BoothGroup/ebcc/pull/13?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BoothGroup#diff-ZWJjYy9jb2RlZ2VuL1VDQzIucHk=) | `100.00% <ø> (ø)` | | | [ebcc/codegen/UCC3.py](https://codecov.io/gh/BoothGroup/ebcc/pull/13?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BoothGroup#diff-ZWJjYy9jb2RlZ2VuL1VDQzMucHk=) | `100.00% <ø> (ø)` | | | [ebcc/codegen/UCCSD.py](https://codecov.io/gh/BoothGroup/ebcc/pull/13?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BoothGroup#diff-ZWJjYy9jb2RlZ2VuL1VDQ1NELnB5) | `100.00% <ø> (ø)` | | | [ebcc/codegen/UCCSDT.py](https://codecov.io/gh/BoothGroup/ebcc/pull/13?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BoothGroup#diff-ZWJjYy9jb2RlZ2VuL1VDQ1NEVC5weQ==) | `100.00% <ø> (ø)` | | | [ebcc/codegen/GCC2.py](https://codecov.io/gh/BoothGroup/ebcc/pull/13?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BoothGroup#diff-ZWJjYy9jb2RlZ2VuL0dDQzIucHk=) | `100.00% <100.00%> (ø)` | | | ... and [16 more](https://codecov.io/gh/BoothGroup/ebcc/pull/13?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BoothGroup) | | ... and [2 files with indirect coverage changes](https://codecov.io/gh/BoothGroup/ebcc/pull/13/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BoothGroup) Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BoothGroup). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BoothGroup)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.