diff --git a/gflownet/utils/batch.py b/gflownet/utils/batch.py index 2e39ff0bb..8f914af04 100644 --- a/gflownet/utils/batch.py +++ b/gflownet/utils/batch.py @@ -528,7 +528,7 @@ def get_parents_indices(self): Returns the indices of the parents of the states in the batch. Each i-th item in the returned list contains the index in self.states that - contains the parent of self.states[idx], if it is peresent there. If a parent + contains the parent of self.states[i], if it is present there. If a parent is not present in self.states (because it is the source), the index is -1. Returns