Skip to content
Snippets Groups Projects
Commit 77a9ae53 authored by Manos Koukoutos's avatar Manos Koukoutos
Browse files

It's a SolverFactory, not a Solver

parent 62b817d4
No related branches found
No related tags found
No related merge requests found
...@@ -183,16 +183,16 @@ object AnalysisPhase extends LeonPhase[Program,VerificationReport] { ...@@ -183,16 +183,16 @@ object AnalysisPhase extends LeonPhase[Program,VerificationReport] {
} }
// Solvers selection and validation // Solvers selection and validation
val entrySolver = SolverFactory.getFromSettings(ctx, program) val entrySolverFactory = SolverFactory.getFromSettings(ctx, program)
val mainSolver = timeout match { val mainSolverFactory = timeout match {
case Some(sec) => case Some(sec) =>
new TimeoutSolverFactory(entrySolver, sec*1000L) new TimeoutSolverFactory(entrySolverFactory, sec*1000L)
case None => case None =>
entrySolver entrySolverFactory
} }
val vctx = VerificationContext(ctx, program, mainSolver, reporter) val vctx = VerificationContext(ctx, program, mainSolverFactory, reporter)
reporter.debug("Running verification condition generation...") reporter.debug("Running verification condition generation...")
val vcs = generateVerificationConditions(vctx, filterFuns) val vcs = generateVerificationConditions(vctx, filterFuns)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment