Diable Log by default

This commit is contained in:
jeffin143
2020-06-15 21:30:33 +05:30
parent ec7f0093e0
commit 08eb22844a
+7
View File
@@ -25,7 +25,14 @@ int main(int argc, char** argv)
//size_t seed = std::time(NULL);
//srand((unsigned int) seed);
//arma::arma_rng::set_seed(seed);
#ifndef TEST_VERBOSE
#ifdef DEBUG
mlpack::Log::Debug.ignoreInput = true;
#endif
mlpack::Log::Info.ignoreInput = true;
mlpack::Log::Warn.ignoreInput = true;
#endif
std::cout << "run test using Catch2" << std::endl;