Skip to content

Commit

Permalink
Remove unused argument
Browse files Browse the repository at this point in the history
  • Loading branch information
tpietzsch committed Oct 23, 2024
1 parent fc8e0cc commit 9b9e7a8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ private RadiusNeighborSearchOnKDTree( final RadiusNeighborSearchOnKDTree< T > ot
public void search( final RealLocalizable reference, final double radius, final boolean sortResults )
{
impl.search( reference, radius, sortResults );
fillMatches( 0, impl.numNeighbors() - 1 );
fillMatches( impl.numNeighbors() - 1 );
}

private void fillMatches( final int first, final int last )
private void fillMatches( final int last )
{
while ( matches.size() < last + 1 )
matches.add( tree.createNode() );
Expand Down

0 comments on commit 9b9e7a8

Please sign in to comment.