File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ namespace Gint_Tools
3939 const int jby,
4040 const int kbz)
4141 {
42- int *vindex = new int [GlobalC::pw. bxyz *sizeof (int )];
42+ int *vindex = new int [GlobalC::bigpw-> bxyz *sizeof (int )];
4343 int bindex=0 ;
4444 // z is the fastest,
4545 // ipart can be obtained by using a previously stored array
@@ -71,8 +71,8 @@ namespace Gint_Tools
7171 {
7272 // set the index for obtaining local potentials
7373 int * vindex = Gint_Tools::get_vindex (ncyz, ibx, jby, kbz);
74- double *vldr3 = new double [GlobalC::pw. bxyz *sizeof (double )];
75- for (int ib=0 ; ib<GlobalC::pw. bxyz ; ib++)
74+ double *vldr3 = new double [GlobalC::bigpw-> bxyz *sizeof (double )];
75+ for (int ib=0 ; ib<GlobalC::bigpw-> bxyz ; ib++)
7676 {
7777 vldr3[ib]=vlocal[vindex[ib]] * dv;
7878 }
@@ -88,8 +88,8 @@ namespace Gint_Tools
8888 {
8989 // set the index for obtaining local potentials
9090 int * vindex = Gint_Tools::get_vindex (start_ind, ncyz);
91- double *vldr3 = new double [GlobalC::pw. bxyz *sizeof (double )];
92- for (int ib=0 ; ib<GlobalC::pw. bxyz ; ib++)
91+ double *vldr3 = new double [GlobalC::bigpw-> bxyz *sizeof (double )];
92+ for (int ib=0 ; ib<GlobalC::bigpw-> bxyz ; ib++)
9393 {
9494 vldr3[ib]=vlocal[vindex[ib]] * dv;
9595 }
You can’t perform that action at this time.
0 commit comments