diff options
author | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-12-02 16:39:51 (GMT) |
---|---|---|
committer | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-12-02 16:39:51 (GMT) |
commit | 325569cba67c4079e604be17cd434ad3adcf80d8 (patch) | |
tree | d67796fb0c75d87e6e8179769110d3fd76a2f602 /src | |
parent | 21f3d6c7859cd93233938fef849e07ff405a28ea (diff) |
More fixes to molecule getters.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/tng_io.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/tng_io.c b/src/lib/tng_io.c index ac8a7f1..5a6386d 100644 --- a/src/lib/tng_io.c +++ b/src/lib/tng_io.c @@ -15712,7 +15712,7 @@ tng_function_status DECLSPECDLLEXPORT tng_util_trajectory_molecules_get (tng_trajectory_t tng_data, int64_t *n_mols, int64_t **molecule_cnt_list, - tng_molecule_t **mols) + tng_molecule_t *mols) { tng_trajectory_frame_set_t frame_set; @@ -15731,7 +15731,7 @@ tng_function_status DECLSPECDLLEXPORT tng_util_trajectory_molecules_get *molecule_cnt_list = tng_data->molecule_cnt_list; } - *mols = &tng_data->molecules; + *mols = tng_data->molecules; return(TNG_SUCCESS); } |