apply clang-format

This commit is contained in:
Axel Kohlmeyer
2024-07-22 23:58:10 -04:00
parent 70ee5495a2
commit b459d0c9b9
26 changed files with 69 additions and 80 deletions

View File

@ -189,9 +189,9 @@ void TextFileReader::next_dvector(double *list, int n)
char *ptr = next_line();
if (ptr == nullptr) {
if (i == 0) { // EOF without any records
if (i == 0) { // EOF without any records
throw EOFException("EOF reached");
} else if (i < n) { // EOF with incomplete data
} else if (i < n) { // EOF with incomplete data
throw FileReaderException(
fmt::format("Incorrect format in {} file! {}/{} values", filetype, i, n));
}