Skip to content

Commit

Permalink
fix[lib]: apply all auto-constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
delehef committed Nov 9, 2023
1 parent 8b0b730 commit 88c54c1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use std::{
ffi::{c_uint, CStr, CString},
sync::RwLock,
};
use transformer::ExpansionLevel;
use transformer::{AutoConstraint, ExpansionLevel};

use crate::{
column::{Computation, Value, ValueBacking},
Expand Down Expand Up @@ -255,7 +255,11 @@ fn reverse_fr_x86_64(v: &mut [u64; 4]) {
}

fn make_corset(mut constraints: ConstraintSet) -> Result<Corset> {
transformer::expand_to(&mut constraints, ExpansionLevel::all().into(), &[])?;
transformer::expand_to(
&mut constraints,
ExpansionLevel::all().into(),
AutoConstraint::all(),
)?;
transformer::concretize(&mut constraints);
Ok(constraints)
}
Expand Down

0 comments on commit 88c54c1

Please sign in to comment.