mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 12:15:09 -05:00
fix: display crypto-params global probability when it's not available
This commit is contained in:
@@ -120,7 +120,7 @@ static void display(optimizer::Description &descr,
|
||||
<< "--- Correctness for each Pbs call\n"
|
||||
<< " 1/" << int(1.0 / sol.p_error) << " errors (" << sol.p_error
|
||||
<< ")\n";
|
||||
if (descr.dag) {
|
||||
if (descr.dag && !std::isnan(sol.global_p_error)) {
|
||||
o() << "--- Correctness for the full circuit\n"
|
||||
<< " 1/" << int(1.0 / sol.global_p_error) << " errors ("
|
||||
<< sol.global_p_error << ")\n";
|
||||
|
||||
Reference in New Issue
Block a user