Skip to content

Commit

Permalink
Bugs in near-zero integrals for general contracted basis
Browse files Browse the repository at this point in the history
  • Loading branch information
sunqm committed Feb 1, 2024
1 parent 296acd8 commit fdbe32f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/cint2c2e.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@
non0ctr[it][im], non0idx[it]+im*x_ctr[it]); \
empty_overall = 0; \
} else if (fp2c[i] == CINTiprim_to_ctr_0) { \
double *pout = gctr[it]; \
double *pout = gctr[SHLTYPi]; \
int k; \
for (k = 0; k < nf; k++) { \
for (k = 0; k < ngp[SHLTYPk]; k++) { \
pout[k] = 0.; \
} \
} \
Expand Down
4 changes: 2 additions & 2 deletions src/cint2e.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@
non0ctr[it][im], non0idx[it]+im*x_ctr[it]); \
empty_overall = 0; \
} else if (fp2c[i] == CINTiprim_to_ctr_0) { \
double *pout = gp2c[i]; \
double *pout = gctr[SHLTYPi]; \
int k; \
for (k = 0; k < ngp[1]; k++) { \
for (k = 0; k < ngp[SHLTYPj]; k++) { \
pout[k] = 0.; \
} \
} \
Expand Down
4 changes: 2 additions & 2 deletions src/cint3c2e.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@
non0ctr[it][im], non0idx[it]+im*x_ctr[it]); \
empty_overall = 0; \
} else if (fp2c[i] == CINTiprim_to_ctr_0) { \
double *pout = gctr[it]; \
double *pout = gctr[SHLTYPi]; \
int k; \
for (k = 0; k < nf; k++) { \
for (k = 0; k < ngp[SHLTYPj]; k++) { \
pout[k] = 0.; \
} \
} \
Expand Down

0 comments on commit fdbe32f

Please sign in to comment.