Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Mpp
MLUQ
Commits
47adc251
Commit
47adc251
authored
Jul 11, 2021
by
niklas.baumgarten
Browse files
fixed
parent
96508b8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
mluq/tests/estimators/datastructure/TestWelfordAggregate.hpp
View file @
47adc251
...
...
@@ -26,7 +26,7 @@ protected:
void
TestSampleCounterParallel
()
{
pout
<<
"Before update: "
<<
aggregate
.
ctr
<<
endl
;
while
(
aggregate
.
ctr
.
dMcomm
!=
0
)
aggregate
.
Update
(
0
.0
,
0.0
,
0.0
,
0.0
);
while
(
aggregate
.
ctr
.
dMcomm
!=
0
)
aggregate
.
Update
(
1
.0
,
0.0
,
0.0
,
0.0
);
pout
<<
"After update: "
<<
aggregate
.
ctr
<<
endl
;
aggregate
.
UpdateParallel
();
pout
<<
"After parallel update: "
<<
aggregate
.
ctr
<<
endl
;
...
...
@@ -39,7 +39,7 @@ protected:
void
TestMeanParallel
()
{
pout
<<
"Before update: "
<<
aggregate
.
mean
<<
endl
;
while
(
aggregate
.
ctr
.
dMcomm
!=
0
)
aggregate
.
Update
(
0
.0
,
0.0
,
PPM
->
Proc
(
0
),
0.0
);
while
(
aggregate
.
ctr
.
dMcomm
!=
0
)
aggregate
.
Update
(
1
.0
,
0.0
,
PPM
->
Proc
(
0
),
0.0
);
pout
<<
"After update: "
<<
aggregate
.
mean
<<
endl
;
aggregate
.
UpdateParallel
();
pout
<<
"After parallel update: "
<<
aggregate
.
mean
<<
endl
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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