mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-05 23:33:07 +00:00
Apply Nick's comment
This commit is contained in:
parent
8dcb29e5ad
commit
d0379e9428
@ -57,19 +57,8 @@ impl<T: Copy> Traces<T> {
|
|||||||
.arithmetic_ops
|
.arithmetic_ops
|
||||||
.iter()
|
.iter()
|
||||||
.map(|op| match op {
|
.map(|op| match op {
|
||||||
Operation::TernaryOperation {
|
Operation::TernaryOperation { .. } => 2,
|
||||||
operator: _,
|
Operation::BinaryOperation { operator, .. } => match operator {
|
||||||
input0: _,
|
|
||||||
input1: _,
|
|
||||||
input2: _,
|
|
||||||
result: _,
|
|
||||||
} => 2,
|
|
||||||
Operation::BinaryOperation {
|
|
||||||
operator,
|
|
||||||
input0: _,
|
|
||||||
input1: _,
|
|
||||||
result: _,
|
|
||||||
} => match operator {
|
|
||||||
BinaryOperator::Div | BinaryOperator::Mod => 2,
|
BinaryOperator::Div | BinaryOperator::Mod => 2,
|
||||||
_ => 1,
|
_ => 1,
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user