Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Tobias WEBER
in20tools_old
Commits
8c047f63
Commit
8c047f63
authored
Mar 30, 2019
by
Tobias WEBER
Browse files
ported bugfix from tlibs1
parent
7f28db65
Changes
1
Hide whitespace changes
Inline
Side-by-side
libs/mat.h
View file @
8c047f63
...
@@ -4653,7 +4653,7 @@ covariance(const std::vector<ublas::vector<T>>& vecVals, const std::vector<T>* p
...
@@ -4653,7 +4653,7 @@ covariance(const std::vector<ublas::vector<T>>& vecVals, const std::vector<T>* p
else
else
vecMean
=
mean_value
<
t_vecvec
>
(
vecVals
);
vecMean
=
mean_value
<
t_vecvec
>
(
vecVals
);
t_mat
matCov
(
vecVals
[
0
].
size
(),
vecVals
[
0
].
size
());
t_mat
matCov
=
zero_m
<
t_mat
>
(
vecVals
[
0
].
size
(),
vecVals
[
0
].
size
());
T
tSum
=
T
(
0
);
T
tSum
=
T
(
0
);
const
std
::
size_t
N
=
vecVals
.
size
();
const
std
::
size_t
N
=
vecVals
.
size
();
...
...
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