PointCloudLibrary/pcl

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

Open

#3781 aperta il 23 mar 2020

Vedi su GitHub
 (7 commenti) (0 reazioni) (0 assegnatari)C++ (4506 fork)batch import
effort: mediumgood first issuekind: todo

Metriche repository

Star
 (9023 star)
Metriche merge PR
 (Merge medio 8g 7h) (3 PR mergiate in 30 g)

Descrizione

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)

Guida contributor