Skip to content

Commit 365a871

Browse files
author
Clang Robot
committed
Committing clang-format changes
1 parent b2d334e commit 365a871

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

include/macis/gf/gf.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ void RunGFCalc(std::vector<std::vector<std::complex<double>>> &GF,
638638
for(int iw = 0; iw < ws.size(); iw++) GF[iw][i * nvecs + i] = tGF[iw];
639639
for(int j = i + 1; j < nvecs; j++) {
640640
// OFF DIAGONAL ELEMENTS
641-
// NOTE: WORKS ONLY FOR REAL-VALUED WAVE FUNCTIONS.
641+
// NOTE: WORKS ONLY FOR REAL-VALUED WAVE FUNCTIONS.
642642
std::cout << "DOING ELEMENT (" << i << ", " << j << ")" << std::endl;
643643
for(size_t iii = 0; iii < nterms; iii++)
644644
twfn(iii) = wfns[i * nterms + iii] + wfns[j * nterms + iii];

src/macis/gf/bandlan.cxx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,7 @@ void BandResolvent(
325325
ofile.close();
326326
}
327327
std::cout << "DONE! COMPUTING RESOLVENT ...";
328-
if( ispart )
329-
{
328+
if(ispart) {
330329
#pragma omp parallel for
331330
for(int iw = 0; iw < ws.size(); iw++) {
332331
for(int k = 0; k < nvecs; k++) {
@@ -339,9 +338,7 @@ void BandResolvent(
339338
}
340339
}
341340
}
342-
}
343-
else
344-
{
341+
} else {
345342
#pragma omp parallel for
346343
for(int iw = 0; iw < ws.size(); iw++) {
347344
for(int k = 0; k < nvecs; k++) {

0 commit comments

Comments
 (0)