PointCloudLibrary/pcl

[PCL] Use C++11 random generators, not `rand`

Open

#3 781 ouverte le 23 mars 2020

Voir sur GitHub
 (7 commentaires) (0 réactions) (0 assignés)C++ (4 506 forks)batch import
effort: mediumgood first issuekind: todo

Métriques du dépôt

Stars
 (9 023 stars)
Métriques de merge PR
 (Merge moyen 8j 7h) (3 PRs mergées en 30 j)

Description

Context

rand has several issues, which C++11 random generators don't. New PR often see the rand usage and try to emulate the wrong behavior.

Expected behavior

Remove all rand so when people search for how PCL did its random num generation, they get good quality results

Additional context

Usage of old-fashioned rand discovered by codacity (or maybe try grep)

Guide contributeur