apply clang-format

This commit is contained in:
Axel Kohlmeyer
2023-09-25 08:09:36 -04:00
parent 2c636c83f5
commit a128089ab1
3 changed files with 6 additions and 5 deletions

View File

@ -836,7 +836,7 @@ void LammpsGui::logupdate()
for (int i = 0; i < ncols; ++i) {
int datatype = *(int *)lammps.last_thermo("type", i);
double data = 0.0;
double data = 0.0;
if (datatype == 0) // int
data = *(int *)lammps.last_thermo("data", i);
else if (datatype == 2) // double
@ -906,7 +906,7 @@ void LammpsGui::run_done()
chartwindow->add_chart(label, i);
}
int datatype = *(int *)lammps.last_thermo("type", i);
double data = 0.0;
double data = 0.0;
if (datatype == 0) // int
data = *(int *)lammps.last_thermo("data", i);
else if (datatype == 2) // double