Skip to content

Commit

Permalink
Minor typo fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
LTLA committed Oct 14, 2024
1 parent 9404439 commit c5fa604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/findNearestNeighbors.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ export function findNearestNeighbors(x, k, options = {}) {
* This is exactly or approximately equal to calling {@linkcode findNearestNeighbors} with the new `k`,
* depending on whether `approximate = false` or `approximate = true` was used to build the search index, respectively.
*
* @param {FindNEarestNeighborsResults} x Existing neighbor search results from {@linkcode findNearestNeighbors}.
* @param {FindNearestNeighborsResults} x Existing neighbor search results from {@linkcode findNearestNeighbors}.
* @param {number} k Number of neighbors to retain.
* If this is larger than the number of available neighbors, all neighbors are retained.
*
Expand Down

0 comments on commit c5fa604

Please sign in to comment.