Skip to content

Commit 52203c3

Browse files
committed
Fix: Meta-GGA error
1 parent 8034a77 commit 52203c3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/module_hamilt/hamilt_pw.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ HamiltPW::HamiltPW()
1919
{
2020
this->classname = "HamiltPW";
2121
const double tpiba2 = GlobalC::ucell.tpiba2;
22+
const double tpiba = GlobalC::ucell.tpiba;
2223
const int* isk = GlobalC::kv.isk.data();
2324
const double* gk2 = GlobalC::wfcpw->gk2;
2425

@@ -71,7 +72,7 @@ HamiltPW::HamiltPW()
7172
}
7273
}
7374
Operator* meta = new Meta<OperatorPW>(
74-
tpiba2,
75+
tpiba,
7576
isk,
7677
&GlobalC::pot.vofk,
7778
GlobalC::wfcpw

0 commit comments

Comments
 (0)