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 @@ -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__));
You can’t perform that action at this time.
0 commit comments