Skip to content

Commit

Permalink
Remove FRI PolyOps dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
spapinistarkware committed Mar 7, 2024
1 parent 0182bdb commit 98adf27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 2 additions & 0 deletions src/core/air/evaluation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@ impl<B: Backend> DomainEvaluationAccumulator<B> {
}
}

// TODO(spapini): Remove dependency on PolyOps<SecureField>.
// This will also remove the dependency on extend(), which is currently not efficient on AVX.
impl DomainEvaluationAccumulator<CPUBackend> {
/// Computes f(P) as coefficients.
pub fn finalize(self) -> SecureCirclePoly {
Expand Down
8 changes: 1 addition & 7 deletions src/core/backend/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ pub mod avx512;
pub mod cpu;

pub trait Backend:
Copy
+ Clone
+ Debug
+ FieldOps<BaseField>
+ FieldOps<SecureField>
+ PolyOps<BaseField>
+ PolyOps<SecureField>
Copy + Clone + Debug + FieldOps<BaseField> + FieldOps<SecureField> + PolyOps<BaseField>
{
}

0 comments on commit 98adf27

Please sign in to comment.