diff --git a/src/gates/interpolation_quartic.rs b/src/gates/interpolation_quartic.rs index 3d1c3f54..14e58970 100644 --- a/src/gates/interpolation_quartic.rs +++ b/src/gates/interpolation_quartic.rs @@ -59,7 +59,9 @@ impl QuarticInterpolationGate { /// Wire indices of the point to evaluate the interpolant at. pub fn wires_interpolated_point(&self) -> Vec { - (0..EXT_SIZE).map(|j| self.start_interpolated_point() + j).collect() + (0..EXT_SIZE) + .map(|j| self.start_interpolated_point() + j) + .collect() } fn start_interpolated_value(&self) -> usize { @@ -162,7 +164,10 @@ mod tests { #[test] fn wire_indices() { - let gate = QuarticInterpolationGate:: { num_points: 2, _phantom: PhantomData }; + let gate = QuarticInterpolationGate:: { + num_points: 2, + _phantom: PhantomData, + }; // The exact indices aren't really important, but we want to make sure we don't have any // overlaps or gaps. assert_eq!(gate.wire_point(0), 0);