Skip to content
Snippets Groups Projects
Commit 792ba9cb authored by amtoine's avatar amtoine
Browse files

format the code with `cargo fmt --all`

This should make the `format` job happy.

> see https://gitlab.isae-supaero.fr/a.stevan/poly-commit/-/jobs/8238
parent 56dee870
No related branches found
No related tags found
1 merge request!1CI: add same jobs as in original GitHub fork
Pipeline #2598 failed with stage
in 4 minutes and 48 seconds
...@@ -422,10 +422,7 @@ where ...@@ -422,10 +422,7 @@ where
} }
} }
pub fn check_hiding_bound( pub fn check_hiding_bound(hiding_poly_degree: usize, num_powers: usize) -> Result<(), Error> {
hiding_poly_degree: usize,
num_powers: usize,
) -> Result<(), Error> {
if hiding_poly_degree == 0 { if hiding_poly_degree == 0 {
Err(Error::HidingBoundIsZero) Err(Error::HidingBoundIsZero)
} else if hiding_poly_degree >= num_powers { } else if hiding_poly_degree >= num_powers {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment