Skip to content

Commit

Permalink
fix formatting:
Browse files Browse the repository at this point in the history
  • Loading branch information
TrevorHansen committed Jan 1, 2024
1 parent e1fd843 commit 9b97503
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/extract/faster_ilp_cbc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,12 @@ impl ClassILP {
}
}


pub struct FasterCbcExtractorWithTimeout<const TIMEOUT_IN_SECONDS: u32>;

// Some problems take >36,000 seconds to optimise.
impl<const TIMEOUT_IN_SECONDS: u32> Extractor for FasterCbcExtractorWithTimeout<TIMEOUT_IN_SECONDS> {
impl<const TIMEOUT_IN_SECONDS: u32> Extractor
for FasterCbcExtractorWithTimeout<TIMEOUT_IN_SECONDS>
{
fn extract(&self, egraph: &EGraph, roots: &[ClassId]) -> ExtractionResult {
return extract(egraph, roots, &Config::default(), TIMEOUT_IN_SECONDS);
}
Expand All @@ -141,7 +142,7 @@ pub struct FasterCbcExtractor;

impl Extractor for FasterCbcExtractor {
fn extract(&self, egraph: &EGraph, roots: &[ClassId]) -> ExtractionResult {
return extract(egraph, roots,&Config::default(), std::u32::MAX);
return extract(egraph, roots, &Config::default(), std::u32::MAX);
}
}

Expand Down

0 comments on commit 9b97503

Please sign in to comment.