Skip to content

Commit 3803e55

Browse files
author
Joao Felipe Rocha
committed
corrected the name of the variable random_landmarKING
1 parent 3a5b528 commit 3803e55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphtools/graphs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ def build_landmark_op(self):
655655
with _logger.log_task("landmark operator"):
656656
is_sparse = sparse.issparse(self.kernel)
657657

658-
if self.random_landmark:
658+
if self.random_landmarking:
659659
n_samples = self.data.shape[0]
660660
rng = np.random.default_rng(self.random_state)
661661
landmark_indices = rng.choice(n_samples, self.n_landmark, replace=False)

0 commit comments

Comments
 (0)