Skip to content
Snippets Groups Projects
Commit 26e9accb authored by Régis Blanc's avatar Régis Blanc
Browse files

print the model when using noverifymodel

parent f580a453
No related branches found
No related tags found
No related merge requests found
......@@ -589,8 +589,13 @@ class FairZ3Solver(reporter: Reporter) extends Solver(reporter) with AbstractZ3S
validatingStopwatch.start
val (trueModel, model) = if(Settings.verifyModel)
validateAndDeleteModel(m, toCheckAgainstModels, varsInVC, evaluator)
else
(true, modelToMap(m, varsInVC))
else {
val res = (true, modelToMap(m, varsInVC))
lazy val modelAsString = res._2.toList.map(p => p._1 + " -> " + p._2).mkString("\n")
reporter.info("- Found a model:")
reporter.info(modelAsString)
res
}
validatingStopwatch.stop
if (trueModel) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment