Store 0-based threshold indices in HDF5 files

This commit is contained in:
Paul Romano 2019-05-23 09:26:46 -05:00
parent adce57093d
commit 7a1afc5869
2 changed files with 2 additions and 7 deletions

View file

@ -42,8 +42,6 @@ Reaction::Reaction(hid_t group, const std::vector<int>& temperatures)
// Get threshold index
TemperatureXS xs;
read_attribute(dset, "threshold_idx", xs.threshold);
// TODO: change HDF5 format so that threshold_idx is 0-based
--xs.threshold;
// Read cross section values
read_dataset(dset, xs.value);