diff --git a/src/mlpack/methods/ann/ffn_impl.hpp b/src/mlpack/methods/ann/ffn_impl.hpp index 3192b1180d..bf3ee865f2 100644 --- a/src/mlpack/methods/ann/ffn_impl.hpp +++ b/src/mlpack/methods/ann/ffn_impl.hpp @@ -677,13 +677,11 @@ FFN< if (optimizer.MaxIterations() < samples && optimizer.MaxIterations() != 0) { - Log::Warn << "The optimizer's maximum number of iterations " - << "is less than the size of the dataset; the " - << "optimizer will not pass over the entire " - << "dataset. To fix this, modify the maximum " - << "number of iterations to be at least equal " - << "to the number of points of your dataset " - << "(" << samples << ")." << std::endl; + Log::Warn << "The optimizer's maximum number of iterations is less than the" + << " size of the dataset; the optimizer will not pass over the entire " + << "dataset. To fix this, modify the maximum number of iterations to be" + << " at least equal to the number of points of your dataset (" + << samples << ")." << std::endl; } }