Skip to content

Commit a791ebd

Browse files
committed
address comments
1 parent 8c5fed2 commit a791ebd

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/hint_processor/builtin_hint_processor/math_utils.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -478,11 +478,8 @@ pub fn signed_div_rem(
478478
_ => {}
479479
}
480480

481-
#[allow(deprecated)]
482481
let int_value = value.to_signed_felt();
483-
#[allow(deprecated)]
484482
let int_div = div.to_signed_felt();
485-
#[allow(deprecated)]
486483
let int_bound = bound.to_signed_felt();
487484
let (q, r) = int_value.div_mod_floor(&int_div);
488485

src/vm/runners/builtin_runner/ec_op.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ impl EcOpBuiltinRunner {
6565
prime: &BigInt,
6666
height: u32,
6767
) -> Result<(BigInt, BigInt), RunnerError> {
68-
let mut slope = m.clone().to_bigint();
68+
let mut slope = m.to_bigint();
6969
let mut partial_sum_b = (partial_sum.0.to_bigint(), partial_sum.1.to_bigint());
7070
let mut doubled_point_b = (doubled_point.0.to_bigint(), doubled_point.1.to_bigint());
7171
for _ in 0..height {

0 commit comments

Comments
 (0)