Skip to content

Commit fa188c9

Browse files
[pre-commit.ci lite] apply automatic fixes
1 parent 757875a commit fa188c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/module_hamilt_lcao/module_deepks/deepks_force.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ void DeePKS_domain::cal_f_delta(const std::vector<std::vector<TK>>& dm,
112112

113113
hamilt::AtomPair<double> dm_pair(ibt1, ibt2, dRx, dRy, dRz, &pv);
114114

115-
dm_pair.allocate(nullptr, 1);
115+
dm_pair.allocate(nullptr, true);
116116

117117
if constexpr (std::is_same<TK, double>::value) // for gamma-only
118118
{

0 commit comments

Comments
 (0)