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
The following line found in pcl::GreedyProjectionTriangulation::connectPoint looks very suspicious and like a potential bug: if ((ffn_[sfn_[next_index]] = ffn_[current_index_]) || (sfn_[sfn_[next_index]] == ffn_[current_index_]))
The = looks like it should be ==, given that the rest of the statement is the similar looking if statement in the other case in the switch statement..
Indeed, looks suspicious. However, if we want to change this line, it's better to actually understand the logic behind and not base the decision only on "look-alike" reasoning.
The following line found in pcl::GreedyProjectionTriangulation::connectPoint looks very suspicious and like a potential bug:
if ((ffn_[sfn_[next_index]] = ffn_[current_index_]) || (sfn_[sfn_[next_index]] == ffn_[current_index_]))
The = looks like it should be ==, given that the rest of the statement is the similar looking if statement in the other case in the switch statement..
gp3.hpp
The text was updated successfully, but these errors were encountered: