diff options
author | Magnus Lundborg <lundborg.magnus@gmail.com> | 2014-01-14 15:39:05 (GMT) |
---|---|---|
committer | Magnus Lundborg <lundborg.magnus@gmail.com> | 2014-01-14 15:39:05 (GMT) |
commit | 2876ee5b2b5632046b026f3bffd6df67d2d06ae9 (patch) | |
tree | 0977e0a9e0fba543a7cad49348c2cfca0571551f /src | |
parent | 6756ffc0b805115767e0f8c7160f0a60fe599004 (diff) |
Improved reading next frame.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/tng_io.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/lib/tng_io.c b/src/lib/tng_io.c index 8e1e7ed..46fc042 100644 --- a/src/lib/tng_io.c +++ b/src/lib/tng_io.c @@ -16546,10 +16546,6 @@ tng_function_status DECLSPECDLLEXPORT tng_util_particle_data_next_frame_read { return(stat); } - if(tng_data->current_trajectory_frame_set_input_file_pos == frame_set_file_pos) - { - return(TNG_FAILURE); - } if(frame_set->prev_frame_set_file_pos != frame_set_file_pos) { stat = tng_num_frames_get(tng_data, &n_frames); @@ -16720,10 +16716,6 @@ tng_function_status DECLSPECDLLEXPORT tng_util_non_particle_data_next_frame_read { return(stat); } - if(tng_data->current_trajectory_frame_set_input_file_pos == frame_set_file_pos) - { - return(TNG_FAILURE); - } if(frame_set->prev_frame_set_file_pos != frame_set_file_pos) { tng_num_frames_get(tng_data, &n_frames); |