1
0
Fork 0
mirror of synced 2025-09-24 04:40:05 +00:00

remove print

This commit is contained in:
schaeff 2018-12-05 00:10:19 +01:00
parent dfea1fe578
commit 4ccb0c1ba4
2 changed files with 3 additions and 3 deletions

View file

@ -152,10 +152,11 @@ mod tests {
use super::*;
#[test]
fn from_linear() {
let a: LinComb<FieldPrime> = LinComb::summand(3, FlatVariable::new(42)) + LinComb::summand(4, FlatVariable::new(33));
let a: LinComb<FieldPrime> = LinComb::summand(3, FlatVariable::new(42))
+ LinComb::summand(4, FlatVariable::new(33));
let expected = QuadComb {
left: LinComb::one(),
right: a.clone()
right: a.clone(),
};
assert_eq!(QuadComb::from(a), expected);
}

View file

@ -33,7 +33,6 @@ impl<T: Field> From<FlatFunction<T>> for Function<T> {
impl<T: Field> From<FlatProg<T>> for Prog<T> {
fn from(flat_prog: FlatProg<T>) -> Prog<T> {
println!("{}", flat_prog);
// get the main function as all calls have been resolved
let main = flat_prog
.functions