Skip to content

Commit 1a9aea9

Browse files
[pre-commit.ci lite] apply automatic fixes
1 parent 1fb8851 commit 1a9aea9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/module_hamilt_pw/hamilt_pwdft/operator_pw/velocity_pw.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ Velocity::Velocity
2323
ModuleBase::WARNING_QUIT("Velocity", "Constuctor of Operator::Velocity is failed, please check your code!");
2424
}
2525
this->tpiba = ucell_in -> tpiba;
26-
if(this->nonlocal) this->ppcell->initgradq_vnl(*this->ucell);
26+
if(this->nonlocal) { this->ppcell->initgradq_vnl(*this->ucell);
27+
}
2728
}
2829

2930
void Velocity::init(const int ik_in)

0 commit comments

Comments
 (0)