mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-03 14:23: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
|
||||
.iter()
|
||||
.map(|op| match op {
|
||||
Operation::TernaryOperation {
|
||||
operator: _,
|
||||
input0: _,
|
||||
input1: _,
|
||||
input2: _,
|
||||
result: _,
|
||||
} => 2,
|
||||
Operation::BinaryOperation {
|
||||
operator,
|
||||
input0: _,
|
||||
input1: _,
|
||||
result: _,
|
||||
} => match operator {
|
||||
Operation::TernaryOperation { .. } => 2,
|
||||
Operation::BinaryOperation { operator, .. } => match operator {
|
||||
BinaryOperator::Div | BinaryOperator::Mod => 2,
|
||||
_ => 1,
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user