Skip to content

Commit b8c41fc

Browse files
authored
fixed typo in README.md
1 parent f8f4e8c commit b8c41fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ An arbitrary number of point clouds can then be added to the data structure usin
3131
std::vector<std::array<Real, 3>> point_set_1;
3232
std::vector<std::array<Real, 3>> point_set_2;
3333
34-
unsigned int point_set_1_id = nsearch.add_point_set(positions.front().data(), positions.size());
35-
unsigned int point_set_2_id = nsearch.add_point_set(positions.front().data(), positions.size());
34+
unsigned int point_set_1_id = nsearch.add_point_set(point_set_1.front().data(), positions.size());
35+
unsigned int point_set_2_id = nsearch.add_point_set(point_set_2.front().data(), positions.size());
3636
```
3737
In order to generate the neighborhood information simply execute the following command
3838
```c++

0 commit comments

Comments
 (0)