diff options
| author | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-11-15 14:30:47 (GMT) |
|---|---|---|
| committer | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-11-15 14:30:47 (GMT) |
| commit | 6ca5fc9a24327e7243707cdd3b52397ccdb80378 (patch) | |
| tree | 39b2934cad0211c51afcb8dc6b2d44a73250cd5c /src | |
| parent | cdd8248f24c32c06caeeea9c95df456ebddb7cc6 (diff) | |
Bug fix in tng_util_trajectory_molecules_get
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 61e1518..1fcc7d9 100644 --- a/src/lib/tng_io.c +++ b/src/lib/tng_io.c @@ -14553,7 +14553,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; @@ -14572,7 +14572,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); } |
