remove unneeded typecasts

This commit is contained in:
Axel Kohlmeyer
2020-07-07 20:27:01 -04:00
parent e459ee8a58
commit 4c67822e6b
4 changed files with 9 additions and 10 deletions

View File

@ -739,9 +739,9 @@ void AtomVecTri::write_data_bonus(FILE *fp, int n, double *buf, int /*flag*/)
{
int i = 0;
while (i < n) {
fmt::print(fp,"{} {} {} {} {} {} {} {} {} {} {}\n",
(tagint) ubuf(buf[i]).i,buf[i+1],buf[i+2],buf[i+3],
buf[i+4],buf[i+5],buf[i+6],buf[i+7],buf[i+8],buf[i+9]);
fmt::print(fp,"{} {} {} {} {} {} {} {} {} {} {}\n", ubuf(buf[i]).i,
buf[i+1],buf[i+2],buf[i+3],buf[i+4],buf[i+5],buf[i+6],
buf[i+7],buf[i+8],buf[i+9]);
i += size_data_bonus;
}
}