From b30aa60585661e27b90ef005e04c22f76f002aa9 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck <wdconinc@gmail.com> Date: Tue, 27 Sep 2022 21:26:52 -0500 Subject: [PATCH] fix: remove printing of fit ptr, since not doing anything --- benchmarks/dis/analysis/dis_electrons.cxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/benchmarks/dis/analysis/dis_electrons.cxx b/benchmarks/dis/analysis/dis_electrons.cxx index c08f2ddb..a5cab44c 100644 --- a/benchmarks/dis/analysis/dis_electrons.cxx +++ b/benchmarks/dis/analysis/dis_electrons.cxx @@ -170,14 +170,14 @@ int dis_electrons(const std::string& config_name) fmt::print(" - electron: {} +/- {}\n", f_Q2_el_res->Parameter(1), f_Q2_el_res->Error(1)); } else { - fmt::print("Q2 electron fit failed, %d\n", f_Q2_el_res); + fmt::print("Q2 electron fit failed\n"); return 1; } if (f_Q2_sigma_res == 0) { fmt::print(" - sigma: {} +/- {}\n", f_Q2_sigma_res->Parameter(1), f_Q2_sigma_res->Error(1)); } else { - fmt::print("Q2 sigma fit failed, %d (FIXME: allowed to fail)\n", f_Q2_sigma_res); + fmt::print("Q2 sigma fit failed (FIXME: allowed to fail)\n"); //return 1; } if (f_Q2_esigma_res == 0) { @@ -191,14 +191,14 @@ int dis_electrons(const std::string& config_name) fmt::print(" - JB: {} +/- {}\n", f_Q2_jb_res->Parameter(1), f_Q2_jb_res->Error(1)); } else { - fmt::print("Q2 JB fit failed (FIXME: allowed to fail), %d\n", f_Q2_jb_res); + fmt::print("Q2 JB fit failed (FIXME: allowed to fail)\n"); //return 1; } if (f_Q2_da_res == 0) { fmt::print(" - DA: {} +/- {}\n", f_Q2_da_res->Parameter(1), f_Q2_da_res->Error(1)); } else { - fmt::print("Q2 DA fit failed, %d\n", f_Q2_da_res); + fmt::print("Q2 DA fit failed\n"); return 1; } fmt::print("x resolution:\n"); @@ -206,7 +206,7 @@ int dis_electrons(const std::string& config_name) fmt::print(" - electron: {} +/- {}\n", f_x_el_res->Parameter(1), f_x_el_res->Error(1)); } else { - fmt::print("x electron fit failed, %d\n", f_x_el_res); + fmt::print("x electron fit failed\n"); return 1; } if (f_x_sigma_res == 0) { @@ -227,14 +227,14 @@ int dis_electrons(const std::string& config_name) fmt::print(" - JB: {} +/- {}\n", f_x_jb_res->Parameter(1), f_x_jb_res->Error(1)); } else { - fmt::print("x JB fit failed (FIXME: allowed to fail), %d\n", f_x_jb_res); + fmt::print("x JB fit failed (FIXME: allowed to fail)\n"); //return 1; } if (f_x_da_res == 0) { fmt::print(" - DA: {} +/- {}\n", f_x_da_res->Parameter(1), f_x_da_res->Error(1)); } else { - fmt::print("x DA fit failed, %d\n", f_x_da_res); + fmt::print("x DA fit failed\n"); return 1; } -- GitLab