remove extra white space

This commit is contained in:
Yaser Afshar
2021-09-01 12:55:48 -05:00
parent e1e13a9563
commit 83d86f7d69

View File

@ -43,11 +43,11 @@ LabelMap::~LabelMap()
dtypelabel.clear(); dtypelabel.clear();
itypelabel.clear(); itypelabel.clear();
delete [] lmap2lmap.atom; delete[] lmap2lmap.atom;
delete [] lmap2lmap.bond; delete[] lmap2lmap.bond;
delete [] lmap2lmap.angle; delete[] lmap2lmap.angle;
delete [] lmap2lmap.dihedral; delete[] lmap2lmap.dihedral;
delete [] lmap2lmap.improper; delete[] lmap2lmap.improper;
} }
/* ---------------------------------------------------------------------- /* ----------------------------------------------------------------------
@ -314,31 +314,31 @@ void LabelMap::read_restart(FILE *fp)
for (int i = 0; i < natomtypes; i++) { for (int i = 0; i < natomtypes; i++) {
charlabel = read_string(fp); charlabel = read_string(fp);
typelabel[i] = charlabel; typelabel[i] = charlabel;
delete [] charlabel; delete[] charlabel;
} }
for (int i = 0; i < nbondtypes; i++) { for (int i = 0; i < nbondtypes; i++) {
charlabel = read_string(fp); charlabel = read_string(fp);
btypelabel[i] = charlabel; btypelabel[i] = charlabel;
delete [] charlabel; delete[] charlabel;
} }
for (int i = 0; i < nangletypes; i++) { for (int i = 0; i < nangletypes; i++) {
charlabel = read_string(fp); charlabel = read_string(fp);
atypelabel[i] = charlabel; atypelabel[i] = charlabel;
delete [] charlabel; delete[] charlabel;
} }
for (int i = 0; i < ndihedraltypes; i++) { for (int i = 0; i < ndihedraltypes; i++) {
charlabel = read_string(fp); charlabel = read_string(fp);
dtypelabel[i] = charlabel; dtypelabel[i] = charlabel;
delete [] charlabel; delete[] charlabel;
} }
for (int i = 0; i < nimpropertypes; i++) { for (int i = 0; i < nimpropertypes; i++) {
charlabel = read_string(fp); charlabel = read_string(fp);
itypelabel[i] = charlabel; itypelabel[i] = charlabel;
delete [] charlabel; delete[] charlabel;
} }
} }