diff options
-rw-r--r-- | src/lib/tng_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/tng_io.c b/src/lib/tng_io.c index 1f4ccc5..852be78 100644 --- a/src/lib/tng_io.c +++ b/src/lib/tng_io.c @@ -8075,7 +8075,7 @@ tng_function_status DECLSPECDLLEXPORT tng_molecule_cnt_get if(&tng_data->molecules[i] == molecule) { index = i; - i = 0; + break; } } if(index == -1) |