PointCloudLibrary/pcl

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

Open

#3,781 建立於 2020年3月23日

在 GitHub 查看
 (7 留言) (0 反應) (0 負責人)C++ (4,506 fork)batch import
effort: mediumgood first issuekind: todo

倉庫指標

Star
 (9,023 star)
PR 合併指標
 (平均合併 8天 7小時) (30 天內合併 3 個 PR)

描述

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)

貢獻者指南