A question about num_test in updateVertices()
SLAMWang opened this issue · 2 comments
SLAMWang commented
Hi, thanks for your great work.
I am reading your code, and I am confused with the following function.
In updateVertices() function, it seems that the number of the updated points is num_test, but the total points is num_test_square.
It seems that all the points should be updated. So I wonder why you use num_test instead of num_test_square in this function.
Looking forward to your response.
RuanJY commented
It should also be num_test_square. Sorry for that.
Actually, num_test is the number of vertices alongside one coordinate, so each time the algorithm wants to go through all vertices inside a cell, the number should be num_test * num_test.
RuanJY commented
This typo has been revised in code.