This commit is contained in:
Axel Kohlmeyer
2023-04-04 08:09:47 -04:00
parent c9605e1cba
commit e670a94b8a

View File

@ -1873,8 +1873,7 @@ void PairBOP::read_table(char *filename)
reader = new PotentialFileReader(lmp, filename, "BOP");
bop_types = reader->next_int();
if (bop_types <= 0)
error->one(FLERR,fmt::format("BOP potential file with {} "
"elements",bop_types));
error->one(FLERR,fmt::format("BOP potential file with {} elements",bop_types));
bop_elements = new char*[bop_types];
bop_masses = new double[bop_types];