From 689437ccd4adbb03aa35bf2951164c20ccedbff8 Mon Sep 17 00:00:00 2001 From: Ryan Curtin Date: Wed, 22 Nov 2023 13:15:37 -0500 Subject: [PATCH 1/2] Add a newline after printing coordinates. --- include/ensmallen_bits/callbacks/report.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/ensmallen_bits/callbacks/report.hpp b/include/ensmallen_bits/callbacks/report.hpp index ad58eb48a..1edf7b9d0 100644 --- a/include/ensmallen_bits/callbacks/report.hpp +++ b/include/ensmallen_bits/callbacks/report.hpp @@ -87,6 +87,7 @@ class Report TruncatePrint(initialCoordinates, outputMatrixSize); output << std::endl << "Final coordinates: " << std::endl; TruncatePrint(coordinates, outputMatrixSize); + output << std::endl; } else { From 3160cba40d7150f5f54c4e9a25e8b4892cdbad31 Mon Sep 17 00:00:00 2001 From: Ryan Curtin Date: Wed, 22 Nov 2023 13:17:05 -0500 Subject: [PATCH 2/2] Update HISTORY.md. --- HISTORY.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/HISTORY.md b/HISTORY.md index 5b06c112b..363e17030 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -6,6 +6,9 @@ * Fix return types of callbacks ([#382](https://github.com/mlpack/ensmallen/pull/382)). + * Minor cleanup for printing optimization reports via `Report()` + ([#385](https://github.com/mlpack/ensmallen/pull/385)). + ### ensmallen 2.20.0: "Stripped Bolt Head" ###### 2023-10-02 * Implementation of Active CMAES