correct output
This commit is contained in:
@ -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));
|
error->all(file,line,fmt::format("Invalid range string: {}",str));
|
||||||
|
|
||||||
if (nlo < nmin)
|
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));
|
"({}-{})",nlo,nmin,nmax));
|
||||||
else if (nhi > 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));
|
"({}-{})",nhi,nmin,nmax));
|
||||||
else if (nlo > nhi)
|
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));
|
"({}-{})",nlo,nmin,nhi));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user