Skip to content

Commit 2c8ced4

Browse files
pre-commit-ci-lite[bot]maki49
authored andcommitted
[pre-commit.ci lite] apply automatic fixes
1 parent 70fd4f7 commit 2c8ced4

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
@@ -110,7 +110,7 @@ namespace LR
110110
{
111111
auto& funcs = this->kernel_to_potential_;
112112
auto& fxc = this->xc_kernel_components_;
113-
if (xc == XCType::LDA) switch (s)
113+
if (xc == XCType::LDA) { switch (s)
114114
{
115115
case SpinType::S1:
116116
funcs[s] = [this, &fxc](FXC_PARA_TYPE)->void
@@ -153,7 +153,7 @@ namespace LR
153153
+ " unfinished in " + std::string(__FILE__) + " line " + std::to_string(__LINE__));
154154
break;
155155
}
156-
else if (xc == XCType::GGA || xc == XCType::HYB_GGA) switch (s)
156+
} else if (xc == XCType::GGA || xc == XCType::HYB_GGA) { switch (s)
157157
{
158158
case SpinType::S1:
159159
funcs[s] = [this, &fxc](FXC_PARA_TYPE)->void
@@ -204,7 +204,7 @@ namespace LR
204204
+ std::string(__FILE__) + " line " + std::to_string(__LINE__));
205205
break;
206206
}
207-
else
207+
} else
208208
{
209209
throw std::domain_error("GlobalV::XC_Functional::get_func_type() =" + std::to_string(XC_Functional::get_func_type())
210210
+ " unfinished in " + std::string(__FILE__) + " line " + std::to_string(__LINE__));

0 commit comments

Comments
 (0)