Skip to content

Commit

Permalink
Fix error message. (#914)
Browse files Browse the repository at this point in the history
  • Loading branch information
1uc authored Jan 15, 2024
1 parent 1dd8664 commit 1299c55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/highfive/bits/H5Attribute_misc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ inline void Attribute::read(T& array) const {

if (!details::checkDimensions(mem_space, buffer_info.n_dimensions)) {
std::ostringstream ss;
ss << "Impossible to read DataSet of dimensions " << mem_space.getNumberDimensions()
ss << "Impossible to read Attribute of dimensions " << mem_space.getNumberDimensions()
<< " into arrays of dimensions " << buffer_info.n_dimensions;
throw DataSpaceException(ss.str());
}
Expand Down

0 comments on commit 1299c55

Please sign in to comment.