Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Klepl Jiří
asgn
Commits
df92971d
Commit
df92971d
authored
Mar 19, 2020
by
Bednárek David RNDr. Ph.D.
Browse files
corrected aggregation of times
parent
583bf6be
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
asgn/fmwkng.hpp
View file @
df92971d
...
...
@@ -3070,7 +3070,8 @@ namespace fmwkng {
using
aggregator_data_type
=
std
::
pair
<
double
,
std
::
size_t
>
;
static
aggregator_data_type
aggregator_data
(
const
data_type
&
v
)
{
return
std
::
make_pair
(
v
,
1
);
// CONVERTED TO LOGARITHMIC SCALE
return
std
::
make_pair
(
std
::
log
(
v
),
1
);
}
static
void
aggregate
(
aggregator_data_type
&
r
,
const
data_type
&
v
)
{
...
...
asgn/levengold.cpp
0 → 100644
View file @
df92971d
This diff is collapsed.
Click to expand it.
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