Skip to content

Commit d5ca587

Browse files
author
wenfei-li
committed
gint : cal_pvpR_reduced, change t1<=t2 to iat1<=iat2
1 parent 2393c48 commit d5ca587

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/src_lcao/gint_k_vl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ inline void cal_pvpR_reduced(int size, int LD_pool, int grid_index,
269269
{
270270
const int iat2=at[ia2];
271271
const int T2 = GlobalC::ucell.iat2it[iat2];
272-
if (T1 <= T2)
272+
if (iat1 <= iat2)
273273
{
274274
int cal_num=0;
275275
for(int ib=0; ib<GlobalC::pw.bxyz; ++ib)

0 commit comments

Comments
 (0)