Notice to GitKraken users: A vulnerability has been found in the SSH key generation of GitKraken versions 7.6.0 to 8.0.0 (https://www.gitkraken.com/blog/weak-ssh-key-fix). If you use GitKraken and have generated a SSH key using one of these versions, please remove it both from your local workstation and from your LRZ GitLab profile.

21.10.2021, 9:00 - 11:00: Due to updates GitLab may be unavailable for some minutes between 09:00 and 11:00.

Commit ea377daa authored by Alessio Netti's avatar Alessio Netti
Browse files

Analytics: minor fixes

- Suppressing an integer comparison warning
parent c7ffa509
......@@ -180,7 +180,7 @@ std::string ClusteringOperator::printMeans() {
if(_gmm.empty() || !_gmm->isTrained())
out << "Model is uninitialized or not trained.\n";
else {
for(size_t idx=0; idx<_gmm->getMeans().size().height; idx++)
for(size_t idx=0; idx<(size_t)_gmm->getMeans().size().height; idx++)
out << "Component " << idx << " :" << _gmm->getMeans().row(idx) << "\n";
}
return out.str();
......
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