Skip to content

Commit 1838a22

Browse files
committed
Fix: UT related to klist.cpp
1 parent 6063015 commit 1838a22

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

source/module_elecstate/test/updaterhok_pw_test.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
#include "module_elecstate/elecstate.h"
1313

1414
#include "updaterhok_pw_test.h"
15-
15+
#include "src_io/berryphase.h"
16+
bool berryphase::berry_phase_flag;
1617
using::testing::AtLeast;
1718
using::testing::Assign;
1819

source/src_lcao/test/gamma_rho_mock.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3107,3 +3107,6 @@ void Pseudopot_upf::read_pseudo_upf201_rhoatom(std::ifstream &ifs)
31073107
ifs >> this->rho_at[ir];
31083108
}
31093109
}
3110+
3111+
#include "src_io/berryphase.h"
3112+
bool berryphase::berry_phase_flag;

0 commit comments

Comments
 (0)