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

@ -1876,7 +1876,7 @@ void AtomVec::write_data(FILE *fp, int n, double **buf)
int i,j,m,nn,datatype,cols;
for (i = 0; i < n; i++) {
fmt::print(fp,"{}",(tagint) ubuf(buf[i][0]).i);
fmt::print(fp,"{}",ubuf(buf[i][0]).i);
j = 1;
for (nn = 1; nn < ndata_atom; nn++) {
@ -2024,7 +2024,7 @@ void AtomVec::write_vel(FILE *fp, int n, double **buf)
int i,j,m,nn,datatype,cols;
for (i = 0; i < n; i++) {
fmt::print(fp,"{}",(tagint) ubuf(buf[i][0]).i);
fmt::print(fp,"{}",ubuf(buf[i][0]).i);
j = 1;
for (nn = 1; nn < ndata_vel; nn++) {