MCPcopy Create free account
hub / github.com/AutonomousFieldRoboticsLab/SVIn / SeedRandOnce

Method SeedRandOnce

pose_graph/ThirdParty/DUtils/Random.cpp:23–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23void DUtils::Random::SeedRandOnce() {
24 if (!m_already_seeded) {
25 DUtils::Random::SeedRand();
26 m_already_seeded = true;
27 }
28}
29
30void DUtils::Random::SeedRand(int seed) { srand(seed); }
31

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected