Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 2, 2022
1 parent 5521753 commit 486fcab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/openPMD/backend/BaseRecord.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ inline void BaseRecord<T_elem, T_RecordComponent>::readBase()
this->IOHandler()->enqueue(IOTask(this, aRead));
this->IOHandler()->flush(internal::defaultFlushParams);
if (auto val =
Attribute(*aRead.resource).getOptional<std::array<double, 7> >();
Attribute(*aRead.resource).getOptional<std::array<double, 7>>();
val.has_value())
this->setAttribute("unitDimension", val.value());
else
Expand Down

0 comments on commit 486fcab

Please sign in to comment.