1
0
Fork 0
mirror of synced 2025-09-23 12:18:44 +00:00

remove call to unimplemented cast

This commit is contained in:
schaeff 2019-02-11 16:20:47 +01:00
parent 6ecc2c9885
commit 8e64cc68b1

View file

@ -49,7 +49,6 @@ impl Flattener {
fn load_corelib<T: Field>(&mut self, functions_flattened: &mut Vec<FlatFunction<T>>) -> () {
// Load type casting functions
functions_flattened.push(cast(&Type::Boolean, &Type::FieldElement));
functions_flattened.push(cast(&Type::FieldElement, &Type::Boolean));
// Load IfElse helper
let ie = TypedFunction {