Skip to content

Commit

Permalink
Fix sum_with_coeff_and_const
Browse files Browse the repository at this point in the history
  • Loading branch information
DoHoonKim committed Nov 13, 2022
1 parent ddd31ff commit 47092ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/loader/evm/loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ impl<F: PrimeField<Repr = [u8; 0x20]>> ScalarLoader<F> for Rc<EvmLoader> {
let mut code = format!("let result := {initial_value}\n");
for value in values {
let v = push_addend(value);
let addend = format!("addmod({v}, result, f_q)\n");
let addend = format!("result := addmod({v}, result, f_q)\n");
code.push_str(addend.as_str());
}

Expand Down

0 comments on commit 47092ce

Please sign in to comment.