From 5e4ce8d03c1df757393437bb981b478ca0785f0b Mon Sep 17 00:00:00 2001 From: Richard Berger Date: Tue, 26 May 2020 20:27:16 -0400 Subject: [PATCH] Use Error::one in PotentialFileReader --- src/potential_file_reader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/potential_file_reader.cpp b/src/potential_file_reader.cpp index 39c398c55b..3f993209f5 100644 --- a/src/potential_file_reader.cpp +++ b/src/potential_file_reader.cpp @@ -60,7 +60,7 @@ char *PotentialFileReader::next_line(int nparams) { { char str[128]; snprintf(str, 128, "Incorrect format in %s potential file", potential_name.c_str()); - error->all(FLERR, str); + error->one(FLERR, str); } return nullptr;