Skip to content

Commit c4ecca1

Browse files
committed
Remove TRandom include and fix typo
1 parent 81db7f8 commit c4ecca1

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tutorials/analysis/dataframe/df041_ThreadSafeRNG.C

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
/// Usage of multithreading mode with random generators.
55
///
66
/// This tutorial illustrates how to make a thread-safe program with thread-local random number engines.
7-
/// Using only one random number generator in a ROOT::EnableImplicitMT() mode is a common pitfal.
7+
/// Using only one random number generator in a ROOT::EnableImplicitMT() mode is a common pitfall.
88
/// This pitfall creates race conditions resulting in a distorted random distribution.
99
/// This example illustrates how to define thread-safe functions that generate random numbers and use them in an
1010
/// RDataFrame computation graph.
@@ -19,7 +19,6 @@
1919
#include <iostream>
2020
#include <thread>
2121
#include <random>
22-
#include "TRandom3.h"
2322
#include "TCanvas.h"
2423
#include "ROOT/RDataFrame.hxx"
2524

0 commit comments

Comments
 (0)