From eecc85659d27a367b0a34b2c6cb6970d44b9a97e Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Tue, 2 Mar 2021 12:43:06 -0500 Subject: [PATCH] add missing line --- src/molecule.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/molecule.cpp b/src/molecule.cpp index e25c10b3fb..58d6bc9cc4 100644 --- a/src/molecule.cpp +++ b/src/molecule.cpp @@ -725,6 +725,7 @@ void Molecule::types(char *line) readline(line); ValueTokenizer values(utils::trim(utils::trim_comment(line))); + if (values.count() != 2) error->one(FLERR,fmt::format("Invalid line in Types section of " "molecule file: {}",line));