Skip to content

Commit

Permalink
Fix to_signed
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo Alt committed Nov 3, 2023
1 parent 9afaf63 commit 452dbd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion riscv_executor/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ impl<'a, 'b, F: FieldElement> Executor<'a, 'b, F> {
self.proc.s("Y", args[0]);

// execution
let r = args[0].u() as u32 as i64;
let r = args[0].u() as i32;

// output
self.proc.s("X", r);
Expand Down

0 comments on commit 452dbd1

Please sign in to comment.