Commit f8daea5f authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

make dihedrals and impropers header output consistent with bonds and angles

parent 2aa693c4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -243,11 +243,11 @@ void WriteData::header()
      fprintf(fp,"%d angle types\n",atom->nangletypes);
    }
    if (atom->ndihedrals || atom->ndihedraltypes) {
      fprintf(fp,BIGINT_FORMAT " dihedrals\n",atom->ndihedrals);
      fprintf(fp,BIGINT_FORMAT " dihedrals\n",ndihedrals);
      fprintf(fp,"%d dihedral types\n",atom->ndihedraltypes);
    }
    if (atom->nimpropers || atom->nimpropertypes) {
      fprintf(fp,BIGINT_FORMAT " impropers\n",atom->nimpropers);
      fprintf(fp,BIGINT_FORMAT " impropers\n",nimpropers);
      fprintf(fp,"%d improper types\n",atom->nimpropertypes);
    }
  }