Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Mpp
MLUQ
Commits
9f35c1c2
Commit
9f35c1c2
authored
Jul 10, 2021
by
niklas.baumgarten
Browse files
made functions const
parent
1061a80c
Changes
1
Hide whitespace changes
Inline
Side-by-side
mluq/tests/estimators/TestMonteCarlo.hpp
View file @
9f35c1c2
...
...
@@ -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
),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment