From af3758cbef111fb57ced11b4395954e389c91553 Mon Sep 17 00:00:00 2001 From: Sebastian Kloth Date: Mon, 26 Feb 2024 14:18:23 +0100 Subject: [PATCH] Fixed iter in Coordinates --- src/mdevaluate/coordinates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mdevaluate/coordinates.py b/src/mdevaluate/coordinates.py index 722ca5b..d3f3c60 100755 --- a/src/mdevaluate/coordinates.py +++ b/src/mdevaluate/coordinates.py @@ -218,7 +218,7 @@ class Coordinates: self.get_frame.clear_cache() def __iter__(self): - for i in range(len(self))[self._slice]: + for i in range(len(self.frames))[self._slice]: yield self[i] @singledispatchmethod