Skip to content

Commit 2c6b3d4

Browse files
[pre-commit.ci lite] apply automatic fixes
1 parent 7157fd0 commit 2c6b3d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/module_lr/potentials/pot_hxc_lrtd.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ namespace LR
108108
{
109109
auto& funcs = this->kernel_to_potential_;
110110
auto& fxc = this->xc_kernel_components_;
111-
if (xc == XCType::LDA) switch (s)
111+
if (xc == XCType::LDA) { switch (s)
112112
{
113113
case SpinType::S1:
114114
funcs[s] = [this, &fxc](FXC_PARA_TYPE)->void
@@ -151,7 +151,7 @@ namespace LR
151151
+ " unfinished in " + std::string(__FILE__) + " line " + std::to_string(__LINE__));
152152
break;
153153
}
154-
else if (xc == XCType::GGA || xc == XCType::HYB_GGA) switch (s)
154+
} else if (xc == XCType::GGA || xc == XCType::HYB_GGA) { switch (s)
155155
{
156156
case SpinType::S1:
157157
funcs[s] = [this, &fxc](FXC_PARA_TYPE)->void
@@ -202,7 +202,7 @@ namespace LR
202202
+ std::string(__FILE__) + " line " + std::to_string(__LINE__));
203203
break;
204204
}
205-
else
205+
} else
206206
{
207207
throw std::domain_error("GlobalV::XC_Functional::get_func_type() =" + std::to_string(XC_Functional::get_func_type())
208208
+ " unfinished in " + std::string(__FILE__) + " line " + std::to_string(__LINE__));

0 commit comments

Comments
 (0)