unused variable

This commit is contained in:
rstiskalek 2023-04-01 07:55:17 +01:00
parent 7610def8a0
commit 8fc4e614e3

View file

@ -233,7 +233,7 @@ class kNN_CDF:
for j in range(nbatches): for j in range(nbatches):
rand = self.rvs_in_sphere(batch_size, Rmax, rand = self.rvs_in_sphere(batch_size, Rmax,
random_state=random_state + j) random_state=random_state + j)
dist, _indxs = knn.kneighbors(rand, nneighbours) dist, __ = knn.kneighbors(rand, nneighbours)
for k in range(nneighbours): # Count for each neighbour for k in range(nneighbours): # Count for each neighbour
_counts, __, __ = binned_statistic( _counts, __, __ = binned_statistic(
dist[:, k], dist[:, k], bins=bins, statistic="count", dist[:, k], dist[:, k], bins=bins, statistic="count",