Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasgoergens committed Dec 10, 2024
1 parent 50df9f2 commit f4d572d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
12 changes: 5 additions & 7 deletions sumcheck/src/prover.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,11 @@ impl<E: ExtensionField> IOPProverState<E> {
if rayon::current_num_threads() >= max_thread_id {
rayon::spawn(spawn_task);
} else {
{
panic!(
"rayon global thread pool size {} mismatch with desired poly size {}.",
rayon::current_num_threads(),
polys.len()
);
}
panic!(
"rayon global thread pool size {} mismatch with desired poly size {}.",
rayon::current_num_threads(),
polys.len()
);
}
}

Expand Down
12 changes: 5 additions & 7 deletions sumcheck/src/prover_v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,13 +232,11 @@ impl<'a, E: ExtensionField> IOPProverStateV2<'a, E> {
{
rayon::in_place_scope(scoped_fn)
} else {
{
panic!(
"rayon global thread pool size {} mismatch with desired poly size {}.",
rayon::current_num_threads(),
polys.len()
);
}
panic!(
"rayon global thread pool size {} mismatch with desired poly size {}.",
rayon::current_num_threads(),
polys.len()
);
};

if log2_max_thread_id == 0 {
Expand Down

0 comments on commit f4d572d

Please sign in to comment.