You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wrong number of neighbours
inside regionQuery, before line 143
you must skip findind the euclidean distance of P to the same point later referenced as pn
Otherwise, this returns 0, which is always less than eps.
hence the number of neighbours will always be 1 more than actual neighbours
add this if statement just before line 143
if (pn==p):
continue
The text was updated successfully, but these errors were encountered:
wrong number of neighbours
inside regionQuery, before line 143
you must skip findind the euclidean distance of P to the same point later referenced as pn
Otherwise, this returns 0, which is always less than eps.
hence the number of neighbours will always be 1 more than actual neighbours
add this if statement just before line 143
if (pn==p):
continue
The text was updated successfully, but these errors were encountered: