Fix bugs in ReplayH5Reader

This commit is contained in:
2020-05-19 09:30:59 +02:00
parent 78c3ae0262
commit fb105f8b1c
2 changed files with 6 additions and 6 deletions
+1 -2
View File
@@ -1,7 +1,6 @@
#include "ReplayH5Reader.hpp"
#include "BufferUtils.hpp"
#include "buffer_config.hpp"
#include <iostream>
#include <chrono>
#include <cstring>
@@ -74,7 +73,7 @@ void ReplayH5Reader::prepare_buffer_for_pulse(const uint64_t pulse_id)
hsize_t f_f_start[] = {start_index_in_file, 0, 0};
f_f_space.selectHyperslab(H5S_SELECT_SET, f_f_count, f_f_start);
dset_frame_.read(frame_buffer, H5::PredType::NATIVE_UINT16,
dset_frame_.read(&(frame_buffer[0]), H5::PredType::NATIVE_UINT16,
b_f_space, f_f_space);
}