From 660d5eff9b13b5361293571195be30d3dbc38b1d Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 28 Nov 2023 01:05:23 +0100 Subject: [PATCH] Edit docstring Co-authored-by: Alexandra --- gflownet/utils/batch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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