Skip to content
Snippets Groups Projects
Commit 0fc3ac6f authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

fix: don't return 0 on JB fail

parent d95264ba
No related branches found
No related tags found
1 merge request!166fix: allow JB fits to fail
This commit is part of merge request !166. Comments created here will be created in the context of that merge request.
...@@ -180,7 +180,7 @@ int dis_electrons(const std::string& config_name) ...@@ -180,7 +180,7 @@ int dis_electrons(const std::string& config_name)
f_Q2_jb_res->Parameter(1), f_Q2_jb_res->Error(1));Q2 f_Q2_jb_res->Parameter(1), f_Q2_jb_res->Error(1));Q2
} else { } else {
fmt::print("Q2 JB fit failed (FIXME: allowed to fail)"); fmt::print("Q2 JB fit failed (FIXME: allowed to fail)");
return 0; //FIXME 1; //return 1;
} }
if (f_Q2_da_res == 0) { if (f_Q2_da_res == 0) {
fmt::print(" - DA: {} +/- {}\n", fmt::print(" - DA: {} +/- {}\n",
...@@ -216,7 +216,7 @@ int dis_electrons(const std::string& config_name) ...@@ -216,7 +216,7 @@ int dis_electrons(const std::string& config_name)
f_x_jb_res->Parameter(1), f_x_jb_res->Error(1)); f_x_jb_res->Parameter(1), f_x_jb_res->Error(1));
} else { } else {
fmt::print("x JB fit failed (FIXME: allowed to fail)"); fmt::print("x JB fit failed (FIXME: allowed to fail)");
return 0; //FIXME 1; //return 1;
} }
if (f_x_da_res == 0) { if (f_x_da_res == 0) {
fmt::print(" - DA: {} +/- {}\n", fmt::print(" - DA: {} +/- {}\n",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment