diff options
Diffstat (limited to 'Tests/FindGSL')
-rw-r--r-- | Tests/FindGSL/rng/main.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tests/FindGSL/rng/main.cc b/Tests/FindGSL/rng/main.cc index e1e0a47..af13125 100644 --- a/Tests/FindGSL/rng/main.cc +++ b/Tests/FindGSL/rng/main.cc @@ -7,15 +7,15 @@ int main() int retval = 1; // create a generator - gsl_rng *generator; + gsl_rng* generator; generator = gsl_rng_alloc(gsl_rng_mt19937); // Read a value. double const Result = gsl_rng_uniform(generator); // Check value - double const expectedResult( 0.999741748906672 ); - if( fabs( expectedResult - Result ) < 1.0e-6 ) + double const expectedResult(0.999741748906672); + if (fabs(expectedResult - Result) < 1.0e-6) retval = 0; // free allocated memory |