Commit 9f35c1c2 authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

made functions const

parent 1061a80c
......@@ -40,9 +40,9 @@ protected:
std::unique_ptr<Estimator> mcParallel;
double MeanTolerance() { return sqrt(1.0 / samples); }
double MeanTolerance() const { return sqrt(1.0 / samples); }
double SVarTolerance() { return sqrt(10.0 / samples); }
double SVarTolerance() const { return sqrt(10.0 / samples); }
TestMonteCarlo(double epsilon, int samples) :
samples(samples), epsilon(epsilon),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment