Skip to content

Commit 5461c65

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5f42b0d commit 5461c65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Framework/Nexus/src/H5Util.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ void readArray1DCoerce(const H5::DataSet &dataset, std::vector<OutT> &output, co
437437
DataSpace filespace = dataset.getSpace();
438438
const auto length_actual = static_cast<size_t>(filespace.getSelectNpoints());
439439

440-
if (offset >= length_actual && offset !=0) {
440+
if (offset >= length_actual && offset != 0) {
441441
std::stringstream msg;
442442
msg << "Tried to read offset=" << offset << " into array that is only lenght=" << length_actual << " long";
443443
throw std::runtime_error(msg.str());

0 commit comments

Comments
 (0)