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 c8ded5b..1f4ccc5 100644 --- a/src/lib/tng_io.c +++ b/src/lib/tng_io.c @@ -8101,7 +8101,7 @@ tng_function_status DECLSPECDLLEXPORT tng_molecule_cnt_set if(&tng_data->molecules[i] == molecule) { index = i; - i = 0; + break; } } if(index == -1) |