correct output

This commit is contained in:
Axel Kohlmeyer
2021-03-11 06:46:14 -05:00
parent 56e3962d9c
commit af9321c4d8

View File

@ -418,13 +418,13 @@ void utils::bounds(const char *file, int line, const std::string &str,
error->all(file,line,fmt::format("Invalid range string: {}",str));
if (nlo < nmin)
error->all(file,line,fmt::format("Numeric index {} is out of bounds"
error->all(file,line,fmt::format("Numeric index {} is out of bounds "
"({}-{})",nlo,nmin,nmax));
else if (nhi > nmax)
error->all(file,line,fmt::format("Numeric index {} is out of bounds"
error->all(file,line,fmt::format("Numeric index {} is out of bounds "
"({}-{})",nhi,nmin,nmax));
else if (nlo > nhi)
error->all(file,line,fmt::format("Numeric index {} is out of bounds"
error->all(file,line,fmt::format("Numeric index {} is out of bounds "
"({}-{})",nlo,nmin,nhi));
}
}