diff --git a/src/objects/func_leaf_distance.py b/src/objects/func_leaf_distance.py index e7802d4..ccb2038 100644 --- a/src/objects/func_leaf_distance.py +++ b/src/objects/func_leaf_distance.py @@ -36,7 +36,7 @@ def get_pairwise_vector(self, basis=None, isdistance=True): print(indices) print(type(indices[func1]), type(indices[func2])) print(self.dists) - print(self.dists[0, 0]) + print(self.dists[(0, 0)]) y.append(self.dists[indices[func1], indices[func2]]) y = np.array(y) # by default, the values are: 0 = most dissimilar, 1 = most similar, so to convert to a distance, we subtract from 1