diff --git a/src/mrmc.cpp b/src/mrmc.cpp index 91e07b24d..ec9ea7832 100644 --- a/src/mrmc.cpp +++ b/src/mrmc.cpp @@ -134,7 +134,7 @@ int main(const int argc, const char* argv[]) { LOG4CPLUS_ERROR(logger, "Warning: Eigen and GMM produced different results (Eigen: " << eigenResult->size() << ", Gmm: " << gmmResult->size() << ") in size!"); } else { LOG4CPLUS_INFO(logger, "Testing for different entries"); - for (int i = 0; i < eigenResult->size(); ++i) { + for (unsigned int i = 0; i < eigenResult->size(); ++i) { if (std::abs((eigenResult->at(i) - gmmResult->at(i))) > 0) { LOG4CPLUS_ERROR(logger, "Warning: Eigen and GMM produced different results in entry " << i << " (Eigen: " << eigenResult->at(i) << ", Gmm: " << gmmResult->at(i) << ")!"); }