Skip to content

Commit

Permalink
Merge pull request laspy#18 from smathermather/patch-1
Browse files Browse the repository at this point in the history
set flann = FLANN()
  • Loading branch information
grantbrown committed Aug 9, 2014
2 parents d1cf002 + eb42ef1 commit b85269e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/source/tut_part_1.rst
Expand Up @@ -208,7 +208,7 @@ Here's an example doing just this:
dataset = np.vstack([inFile.X, inFile.Y, inFile.Z]).transpose()
# Find the nearest 5 neighbors of point 100.
flann = FLANN()
neighbors = flann.nn(dataset, dataset[100,], num_neighbors = 5)
print("Five nearest neighbors of point 100: ")
print(neighbors[0])
Expand Down

0 comments on commit b85269e

Please sign in to comment.