Skip to content

Commit

Permalink
Merge pull request #194 from JeffersonLab/feeSmearing
Browse files Browse the repository at this point in the history
fix compilation
  • Loading branch information
pbutti authored Apr 23, 2024
2 parents 51241c9 + 92aba35 commit e3a1bbb
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 e3a1bbb

Please sign in to comment.