Skip to content

Commit f6ef8a9

Browse files
committed
More precise pattern matching
1 parent 6e150f0 commit f6ef8a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/inox/solvers/SolverFactory.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ object SolverFactory {
221221
}
222222
})
223223

224-
case _ if finalName.startsWith("smt-z3") => create(p)(finalName, {
224+
case _ if finalName == "smt-z3" || finalName.startsWith("smt-z3:") => create(p)(finalName, {
225225
val chooseEnc = ChooseEncoder(p)(enc)
226226
val fullEnc = enc andThen chooseEnc
227227
val theoryEnc = theories.Z3(fullEnc.targetProgram)

0 commit comments

Comments
 (0)