Skip to content

Commit

Permalink
Fix (empty) traceInduct
Browse files Browse the repository at this point in the history
  • Loading branch information
drganam authored and jad-hamza committed May 20, 2021
1 parent 89d3488 commit 73684b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/scala/stainless/extraction/trace/Trace.scala
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ object Trace {

def printEverything(implicit ctx: inox.Context) = {
import ctx.{ reporter, timers }
if(!clusters.isEmpty || !errors.isEmpty || !unknowns.isEmpty) {
if(!clusters.isEmpty || !errors.isEmpty || !unknowns.isEmpty || !wrong.isEmpty) {
reporter.info(s"Printing equivalence checking results:")
allModels.foreach(model => {
val l = clusters(model).map(CheckFilter.fixedFullName).mkString(", ")
Expand Down Expand Up @@ -394,7 +394,7 @@ object Trace {
}

private def reportWrong = {
wrong = function.get::wrong
if (function != None) wrong = function.get::wrong
resetTrace
nextFunction
}
Expand Down

0 comments on commit 73684b3

Please sign in to comment.