Skip to content

Commit fc2637b

Browse files
[pre-commit.ci lite] apply automatic fixes
1 parent 4c01765 commit fc2637b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

source/module_io/write_wfc_nao.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ void wfc_nao_write2file(const std::string &name, const double* ctot, const int n
108108
ofs << "\n" << wg(ik,i) << " (Occupations)";
109109
for (int j=0; j<nlocal; j++)
110110
{
111-
if (j % 5 == 0) ofs << "\n";
111+
if (j % 5 == 0) { ofs << "\n";
112+
}
112113
ofs << ctot[i*nlocal + j] << " ";
113114
}
114115
}
@@ -189,7 +190,8 @@ void wfc_nao_write2file_complex(const std::string &name, const std::complex<doub
189190
ofs << "\n" << wg(ik,i) << " (Occupations)";
190191
for (int j=0; j<nlocal; j++)
191192
{
192-
if (j % 5 == 0) ofs << "\n";
193+
if (j % 5 == 0) { ofs << "\n";
194+
}
193195
ofs << ctot[i*nlocal + j].real() << " " << ctot[i*nlocal + j].imag() << " ";
194196
}
195197
}

0 commit comments

Comments
 (0)