diff options
author | Magnus Lundborg <lundborg.magnus@gmail.com> | 2014-01-10 10:54:38 (GMT) |
---|---|---|
committer | Magnus Lundborg <lundborg.magnus@gmail.com> | 2014-01-10 10:54:38 (GMT) |
commit | ff50434a9988298d239cca748987d8a9ece5b0ac (patch) | |
tree | 5beef0ee174b470cafa359ba9dd377a60013321b /src/tests | |
parent | c88da957d403baf383bac28cd598c4039c3de45c (diff) |
Do not automatically clear particle mappings when adding new frame set.
Make tng_frame_set_particle_mappings_free() public.
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/tng_io_testing.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/tng_io_testing.c b/src/tests/tng_io_testing.c index ff41024..3899b15 100644 --- a/src/tests/tng_io_testing.c +++ b/src/tests/tng_io_testing.c @@ -286,6 +286,8 @@ static tng_function_status tng_test_write_and_read_traj(tng_trajectory_t *traj) return(TNG_CRITICAL); } + tng_frame_set_particle_mapping_free(*traj); + /* Setup particle mapping. Use 4 different mapping blocks with arbitrary * mappings. */ for(k=0; k<150; k++) |