From 3d5f17d973ed062a541333b1de05957ab6d153f7 Mon Sep 17 00:00:00 2001 From: jwhite Date: Sun, 14 Jan 2024 17:47:08 -0700 Subject: [PATCH] checking --- src/libs/pestpp_common/MOEA.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/pestpp_common/MOEA.cpp b/src/libs/pestpp_common/MOEA.cpp index 3d453fe6..85ad5960 100644 --- a/src/libs/pestpp_common/MOEA.cpp +++ b/src/libs/pestpp_common/MOEA.cpp @@ -1003,7 +1003,7 @@ void MOEA::message(int level, const string& _message, T extra) void MOEA::throw_moea_error(const string& message) { performance_log->log_event("MOEA error: " + message); - cout << endl << " ************ " << endl << " MOEAerror: " << message << endl << endl; + cout << endl << " ************ " << endl << " MOEA error: " << message << endl << endl; file_manager.rec_ofstream() << endl << " ************ " << endl << " MOEA error: " << message << endl << endl; file_manager.close_file("rec"); performance_log->~PerformanceLog(); @@ -2629,7 +2629,7 @@ pair MOEA::get_optimal_solution(ParameterEnsemble& _dp for (int i = 0; i < _dp.shape().first; i++) { //dist = dp_mean.dot(_dp.get_eigen_ptr()->row(i)); - dist = (dp_mean - _dp.get_eigen_ptr()->row(i).transpose()).squaredNorm(); + dist = (dp_mean - _dp.get_eigen_ptr()->row(i).transpose()).squaredNorm(); if (dist < dist_min) { idx_min = i;