Skip to content
Snippets Groups Projects
Commit 5bcd6142 authored by Samuel Gruetter's avatar Samuel Gruetter
Browse files

make termination checker respect --solvers argument,

(but not timeout)
parent 83f8f8bf
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ trait Solvable extends Processor {
val sizeUnit : UnitDef = UnitDef(FreshIdentifier("$size"),Seq(sizeModule))
val newProgram : Program = program.copy( units = sizeUnit :: program.units)
SolverFactory.default(context, newProgram).withTimeout(500.millisecond)
SolverFactory.getFromSettings(context, newProgram).withTimeout(500.millisecond)
}
type Solution = (Option[Boolean], Map[Identifier, Expr])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment