diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/tng_io.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/tng_io.c b/src/lib/tng_io.c index 383b414..d7bc988 100644 --- a/src/lib/tng_io.c +++ b/src/lib/tng_io.c @@ -7818,6 +7818,8 @@ tng_function_status DECLSPECDLLEXPORT tng_molsystem_bonds_get cnt = 0; for(i = 0; i < tng_data->n_molecules; i++) { + mol = &tng_data->molecules[i]; + mol_cnt = molecule_cnt_list[i]; for(j = 0; j < mol_cnt; j++) { for(k = 0; k < mol->n_bonds; k++) |