Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: encryptogroup/SEEC
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: df40ef5ddc0575b8bd32152aee19e7eb27971748
Choose a base ref
..
head repository: encryptogroup/SEEC
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4c5b5ab6bfc73381871ad4cdb29993902339b972
Choose a head ref
Showing with 0 additions and 22 deletions.
  1. +0 −22 crates/seec/src/gate/base.rs
22 changes: 0 additions & 22 deletions crates/seec/src/gate/base.rs
Original file line number Diff line number Diff line change
@@ -21,28 +21,6 @@ pub enum BaseGate<Plain, Dim = ScalarDim> {
Debug,
}

// impl<T: Share, D: Dimension> BaseGate<T, D> {
// pub(crate) fn evaluate_sc_input_simd(
// &self,
// inputs: impl Iterator<Item = <Self as Gate>::Share>,
// ) -> <<Self as Gate>::Share as Share>::SimdShare {
// let Self::SubCircuitInput(_) = self else {
// panic!("Called evaluate_sc_input_simd on wrong gate {self:?}");
// };
// inputs.collect()
// }
//
// pub(crate) fn evaluate_connect_to_main_simd(
// &self,
// input: &<<Self as Gate>::Share as Share>::SimdShare,
// ) -> <Self as Gate>::Share {
// let Self::ConnectToMainFromSimd((_, at)) = self else {
// panic!("Called evaluate_connect_to_main_simd on wrong gate {self:?}");
// };
// input.get(*at as usize)
// }
// }

impl<P: Plain, Dim: Dimension> Gate<P> for BaseGate<P, Dim> {
type DimTy = Dim;