PointCloudLibrary/pcl
Ver no GitHubInconsistent handling of default seed in NormalGenerator & UniformGenerator
Open
#2.985 aberto em 9 de abr. de 2019
effort: lowgood first issuekind: todoneeds: feedback
Métricas do repositório
- Stars
- (9.023 stars)
- Métricas de merge de PR
- (Mesclagem média 8d 7h) (3 fundiu PRs em 30d)
Description
As already discussed here default seed in random.h is not handled consistently.
One constructor of NormalGenerator has as default seed -1 during the other one (via Parameters) has 1 as default seed.
Furthermore you get currently following warning:
common/include/pcl/common/impl/random.hpp:49:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(parameters_.seed != -1)
So we should discuss how to adjust code there.