Skip to content

Commit

Permalink
change biguint supported types
Browse files Browse the repository at this point in the history
  • Loading branch information
anatgstarkware committed Nov 6, 2024
1 parent 637377f commit 83457a5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions stwo_cairo_prover/crates/prover_types/src/cpu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -582,8 +582,7 @@ impl<const B: usize, const L: usize> ProverType for BigUInt<B, L> {
}
fn r#type() -> String {
match L {
4 => "BigUInt<256, 4>".to_string(),
8 => "BigUInt<512, 8>".to_string(),
6 | 7 | 12 => format!("BigUInt<{}, {}>", 64 * L, L),
_ => panic!("Unsupported BigUInt size"),
}
}
Expand Down

0 comments on commit 83457a5

Please sign in to comment.