diff options
| -rw-r--r-- | include/tng_io.h | 2 | ||||
| -rw-r--r-- | src/lib/tng_io.c | 4 | 
2 files changed, 3 insertions, 3 deletions
| diff --git a/include/tng_io.h b/include/tng_io.h index 27c8c7f..1a584e3 100644 --- a/include/tng_io.h +++ b/include/tng_io.h @@ -2752,7 +2752,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);  /*   * @brief High-level function for adding a molecule to the mol system. 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);  } | 
