Skip to content

Commit

Permalink
static type const * const var
Browse files Browse the repository at this point in the history
  • Loading branch information
gartung committed Nov 13, 2013
1 parent 8a984db commit df5f86a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SimRomanPot/SimFP420/src/GaussNoiseProducerFP420.cc
Original file line number Diff line number Diff line change
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 const * 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 df5f86a

Please sign in to comment.