Skip to content

Commit

Permalink
fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierfrancesco Butti committed Apr 23, 2024
1 parent f428382 commit 92aba35
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion utils/test/smearing-tool.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
#include "TTree.h"
#include "TFile.h"

#include <functional>

void usage() {
std::cout << R"(
Run the smearing tool over known momentum values for testing.
Expand Down Expand Up @@ -68,7 +70,7 @@ double fixed_momentum_sampler() {
}

double normal_momentum() {
static std::normal_distribution dist(1.0, 0.05);
static std::normal_distribution<double> dist(1.0, 0.05);
static std::mt19937 gen;
return dist(gen);
}
Expand Down

0 comments on commit 92aba35

Please sign in to comment.