From c63d6ce7902bbbd37eab694e99effb705b8c1d9d Mon Sep 17 00:00:00 2001 From: Yaser Afshar Date: Wed, 15 Sep 2021 07:07:48 -0500 Subject: [PATCH] minor update --- src/read_data.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/read_data.cpp b/src/read_data.cpp index cd2d12a292..0bea5a7a47 100644 --- a/src/read_data.cpp +++ b/src/read_data.cpp @@ -2043,7 +2043,8 @@ void ReadData::impropercoeffs(int which) void ReadData::typelabels(std::vector &mytypelabel, int myntypes, int mode) { - if (settypeflag) error->all(FLERR,"Must read Type Labels before any section involving types"); + if (settypeflag) + error->all(FLERR,"Must read Type Labels before any section involving types"); char *next; char *buf = new char[myntypes*MAXLINE]; @@ -2059,7 +2060,8 @@ void ReadData::typelabels(std::vector &mytypelabel, int myntypes, i *next = '\0'; int rv = sscanf(buf,"%*d %s",typelabel); if (rv != 1) error->all(FLERR,"Invalid data file section: Type Labels"); - if (isdigit(typelabel[0])) error->all(FLERR,"Type labels cannot start with a number"); + if (isdigit(typelabel[0])) + error->all(FLERR,"Type labels cannot start with a number"); mytypelabel[i] = typelabel; buf = next + 1; }