Skip to content

Commit

Permalink
[σpVσp] compute relation only applies to primitive integrals
Browse files Browse the repository at this point in the history
  • Loading branch information
evaleev committed Nov 17, 2023
1 parent 28aa140 commit 9a58ec9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/bin/libint/comp_1_σpVσp_1.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ CR_1_σpVσp_1<F>::CR_1_σpVσp_1(const SafePtr< TargetType >& Tint,
const auto &b = Tint->ket(0, 0);
const auto &oper = Tint->oper();

// can express integrals of σpVσp in terms of derivative integrals of V for primitive Gaussians only
if (a.contracted() || b.contracted())
return;

using namespace libint2::algebra;
using namespace libint2::prefactor;
using libint2::algebra::operator*;
Expand Down

0 comments on commit 9a58ec9

Please sign in to comment.