You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (fractionOfSampledEvents < 1.f && (static_cast<float>(rand()) / static_cast<float>(RAND_MAX)) > fractionOfSampledEvents) { // Skip events that are not sampled
211
+
if (fractionOfSampledEvents < 1.f && (gRandom->Uniform()) > fractionOfSampledEvents) { // Skip events that are not sampled
211
212
return;
212
213
}
213
214
if (nTableEventCounter > targetNumberOfEvents) { // Skip events if target is reached
if (nTableEventCounter > targetNumberOfEvents) { // Skip events if target is reached
313
314
return;
314
315
}
315
-
for (auto& collision : collisions) {
316
+
for (constauto& collision : collisions) {
316
317
317
-
if (fractionOfSampledEvents < 1.f && (static_cast<float>(rand()) / static_cast<float>(RAND_MAX)) > fractionOfSampledEvents) { // Skip events that are not sampled
318
+
if (fractionOfSampledEvents < 1.f && (gRandom->Uniform()) > fractionOfSampledEvents) { // Skip events that are not sampled
0 commit comments