Skip to content

Commit df5f86a

Browse files
committed
static type const * const var
1 parent 8a984db commit df5f86a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SimRomanPot/SimFP420/src/GaussNoiseProducerFP420.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ void GaussNoiseProducerFP420::generate(int NumberOfchannels,
3939
// draw noise at random according to Gaussian tail
4040

4141
// initialise default gsl uniform generator engine
42-
static gsl_rng const * mt19937 = gsl_rng_alloc (gsl_rng_mt19937);
42+
static gsl_rng const * const mt19937 = gsl_rng_alloc (gsl_rng_mt19937);
4343

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

0 commit comments

Comments
 (0)