Revision | 3710c18de341338729a5ef1941ef201968dffc94 (tree) |
---|---|
Zeit | 2011-09-27 02:04:11 |
Autor | Mikiya Fujii <mikiya.fujii@gmai...> |
Commiter | Mikiya Fujii |
a bug in cndo/Cndo2::GetOverlapElementByGTOExpansion is fixed.
git-svn-id: https://svn.sourceforge.jp/svnroot/molds/MolDS/trunk@138 1136aad2-a195-0410-b898-f5ea1d11b9d8
@@ -1197,8 +1197,8 @@ double Cndo2::GetOverlapElementByGTOExpansion(Atom* atomA, int valenceIndexA, | ||
1197 | 1197 | double gaussianExponentB = 0.0; |
1198 | 1198 | |
1199 | 1199 | double temp = 0.0; |
1200 | - for(int i=0; i<stonG; i++){ | |
1201 | - for(int j=0; j<stonG; j++){ | |
1200 | + for(int i=0; i<=stonG; i++){ | |
1201 | + for(int j=0; j<=stonG; j++){ | |
1202 | 1202 | temp = GTOExpansionSTO::GetInstance()->GetCoefficient |
1203 | 1203 | (stonG, shellTypeA, valenceOrbitalA, i); |
1204 | 1204 | temp *= GTOExpansionSTO::GetInstance()->GetCoefficient |