Skip to content
Snippets Groups Projects
Commit 635e9942 authored by Marco Biasini's avatar Marco Biasini
Browse files

fix for BZDNG-177

parent af317c1a
Branches
Tags
No related merge requests found
......@@ -286,7 +286,7 @@ void DCDCoordSource::FetchFrame(uint frame)
read_dcd_header(stream_, header_, swap_flag_, skip_flag_, gap_flag_);
frame_start_=stream_.tellg();
loaded_=true;
frame_count_=header_.num;
frame_count_=header_.num/stride_;
}
size_t frame_size=calc_frame_size(skip_flag_, gap_flag_,
header_.t_atom_count);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment