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)

贡献者指南