File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
source/module_lr/potentials Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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__));
You can’t perform that action at this time.
0 commit comments