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
findNeighbor function don't check that root_ variable is valid.(the func have not check if(root_ == 0) condition)
But radiusNeighbor function check that root_ variable is valid.
So if root_ is not initialized situation, findNeighbor make program fault and radiusNeighbor doesn't make fault.
Then I think should be add "check root_ code" in findNeighbor.
The code is important in dynamic cloud situation.
Then user can well know error situation.
findNeighbor function don't check that root_ variable is valid.(the func have not check if(root_ == 0) condition)
But radiusNeighbor function check that root_ variable is valid.
So if root_ is not initialized situation, findNeighbor make program fault and radiusNeighbor doesn't make fault.
Then I think should be add "check root_ code" in findNeighbor.
The code is important in dynamic cloud situation.
Then user can well know error situation.
For example,
The text was updated successfully, but these errors were encountered: