Skip to content

Commit

Permalink
Fix type used for array init
Browse files Browse the repository at this point in the history
  • Loading branch information
pgrete authored Sep 9, 2024
1 parent ec61c9c commit fa02b96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/outputs/restart_hdf5.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ void RestartReaderHDF5::ReadBlocks(const std::string &name, IndexRange range,
#else // HDF5 enabled
auto hdl = OpenDataset<Real>(name);

const int VNDIM = info.VNDIM;
constexpr int VNDIM = info.VNDIM;

/** Select hyperslab in dataset **/
int total_dim = 0;
Expand Down

0 comments on commit fa02b96

Please sign in to comment.