Commit 8c047f63 authored by Tobias WEBER's avatar Tobias WEBER
Browse files

ported bugfix from tlibs1

parent 7f28db65
...@@ -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();
......
Markdown is supported
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