Skip to content

Commit

Permalink
applying field operations
Browse files Browse the repository at this point in the history
  • Loading branch information
FimboIsso committed Mar 20, 2024
1 parent cbd537c commit e54cff0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions baby-stark/src/polynomial.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ impl Polynomial {
let mut xi = FieldElement::one();
let mut value = FieldElement::zero();
for c in &self.coeficients{
value = value + (*c * xi);
xi = xi * *point;
value = value.__add__(c.__mul__(xi));
xi = xi.__mul_(point);
}
return value;
}
Expand Down

0 comments on commit e54cff0

Please sign in to comment.