mirror of
https://github.com/Richard-Sti/csiborgtools.git
synced 2024-12-22 22:48:02 +00:00
unused variable
This commit is contained in:
parent
7610def8a0
commit
8fc4e614e3
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue