Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
VanyaBelyaev committed Oct 8, 2024
1 parent f9d1f86 commit 98c620a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ostap/stats/gof_np.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@
##
if (1,6,0) <= sp_version :
qconf = { 'k' : [ 2 ] , 'workers' : -1 }
def neigbour_distances ( tree , data ) :
def neighbour_distances ( tree , data ) :
dist , _ = tree.query ( data , **conf )
dist = dist.flatten()
return dist
else :
qconf = { 'k' : 2 }
def neigbour_distances ( tree , data ) :
def neighbour_distances ( tree , data ) :
dist , _ = tree.query ( data , **conf )
dist = np.delete ( dist , 0 , axis = 1 )
dist = dist.flatten()
Expand Down

0 comments on commit 98c620a

Please sign in to comment.