Skip to content

Commit

Permalink
Merge pull request #1440 from gartung/statics-SimRomanPot-SimFP420
Browse files Browse the repository at this point in the history
Multithreading fixes -- Make a static const in SimRomanPot/SimFP420
  • Loading branch information
ktf committed Nov 14, 2013
2 parents 43b937e + df5f86a commit 4de4aa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SimRomanPot/SimFP420/src/GaussNoiseProducerFP420.cc
Expand Up @@ -39,7 +39,7 @@ void GaussNoiseProducerFP420::generate(int NumberOfchannels,
// draw noise at random according to Gaussian tail

// initialise default gsl uniform generator engine
static gsl_rng * mt19937 = gsl_rng_alloc (gsl_rng_mt19937);
static gsl_rng const * const mt19937 = gsl_rng_alloc (gsl_rng_mt19937);

float lowLimit = threshold * noiseRMS;
for (int i = 0; i < numberOfNoisyChannels; i++) {
Expand Down

0 comments on commit 4de4aa8

Please sign in to comment.