From 588d87523d1e66caf728aa9625db0b1f3d512d1c Mon Sep 17 00:00:00 2001 From: Agnes Leroy Date: Thu, 21 Nov 2024 14:41:21 +0100 Subject: [PATCH] Fix fmt --- .github/workflows/gpu_integer_long_run_tests.yml | 2 -- .github/workflows/integer_long_run_tests.yml | 1 - .github/workflows/placeholder_workflow.yml | 1 - tfhe/src/integer/gpu/server_key/radix/mod.rs | 2 +- tfhe/src/integer/server_key/radix_parallel/mod.rs | 4 ++-- .../server_key/radix_parallel/tests_long_run/test_erc20.rs | 2 +- 6 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/gpu_integer_long_run_tests.yml b/.github/workflows/gpu_integer_long_run_tests.yml index a0d9e99147..c0d6601250 100644 --- a/.github/workflows/gpu_integer_long_run_tests.yml +++ b/.github/workflows/gpu_integer_long_run_tests.yml @@ -145,5 +145,3 @@ jobs: env: SLACK_COLOR: ${{ job.status }} SLACK_MESSAGE: "Instance teardown (gpu-long-run-tests) finished with status: ${{ job.status }}. (${{ env.ACTION_RUN_URL }})" - - diff --git a/.github/workflows/integer_long_run_tests.yml b/.github/workflows/integer_long_run_tests.yml index 10243a2dd8..4c9644bbb9 100644 --- a/.github/workflows/integer_long_run_tests.yml +++ b/.github/workflows/integer_long_run_tests.yml @@ -92,4 +92,3 @@ jobs: env: SLACK_COLOR: ${{ job.status }} SLACK_MESSAGE: "Instance teardown (cpu-long-run-tests) finished with status: ${{ job.status }}. (${{ env.ACTION_RUN_URL }})" - diff --git a/.github/workflows/placeholder_workflow.yml b/.github/workflows/placeholder_workflow.yml index 9f581bb2dc..9d87498bf4 100644 --- a/.github/workflows/placeholder_workflow.yml +++ b/.github/workflows/placeholder_workflow.yml @@ -93,4 +93,3 @@ jobs: env: SLACK_COLOR: ${{ job.status }} SLACK_MESSAGE: "Instance teardown (cpu-long-run-tests) finished with status: ${{ job.status }}. (${{ env.ACTION_RUN_URL }})" - diff --git a/tfhe/src/integer/gpu/server_key/radix/mod.rs b/tfhe/src/integer/gpu/server_key/radix/mod.rs index 8f2b7d819c..fb4d530cf2 100644 --- a/tfhe/src/integer/gpu/server_key/radix/mod.rs +++ b/tfhe/src/integer/gpu/server_key/radix/mod.rs @@ -46,7 +46,7 @@ mod scalar_sub; mod shift; mod sub; -#[cfg(all(test, feature="__long_run_tests"))] +#[cfg(all(test, feature = "__long_run_tests"))] mod tests_long_run; #[cfg(test)] mod tests_signed; diff --git a/tfhe/src/integer/server_key/radix_parallel/mod.rs b/tfhe/src/integer/server_key/radix_parallel/mod.rs index 3f5be5d280..9b6707c0b1 100644 --- a/tfhe/src/integer/server_key/radix_parallel/mod.rs +++ b/tfhe/src/integer/server_key/radix_parallel/mod.rs @@ -24,12 +24,12 @@ mod sum; mod count_zeros_ones; pub(crate) mod ilog2; -#[cfg(all(test, feature="__long_run_tests"))] -pub(crate) mod tests_long_run; mod reverse_bits; mod slice; #[cfg(test)] pub(crate) mod tests_cases_unsigned; +#[cfg(all(test, feature = "__long_run_tests"))] +pub(crate) mod tests_long_run; #[cfg(test)] pub(crate) mod tests_signed; #[cfg(test)] diff --git a/tfhe/src/integer/server_key/radix_parallel/tests_long_run/test_erc20.rs b/tfhe/src/integer/server_key/radix_parallel/tests_long_run/test_erc20.rs index bcc2e3aeca..12be88c88c 100644 --- a/tfhe/src/integer/server_key/radix_parallel/tests_long_run/test_erc20.rs +++ b/tfhe/src/integer/server_key/radix_parallel/tests_long_run/test_erc20.rs @@ -1,8 +1,8 @@ use crate::integer::keycache::KEY_CACHE; +use crate::integer::server_key::radix_parallel::tests_cases_unsigned::FunctionExecutor; use crate::integer::server_key::radix_parallel::tests_long_run::{ NB_CTXT_LONG_RUN, NB_TESTS_LONG_RUN, }; -use crate::integer::server_key::radix_parallel::tests_cases_unsigned::FunctionExecutor; use crate::integer::server_key::radix_parallel::tests_unsigned::CpuFunctionExecutor; use crate::integer::tests::create_parametrized_test; use crate::integer::{