Skip to content

Commit

Permalink
declaration is never used fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kushti committed Jul 29, 2019
1 parent 335101d commit 2948e67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/sigmastate/interpreter/Interpreter.scala
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ trait Interpreter extends ScorexLogging {
checkingResult -> cost
})
if (outputComputedResults) {
res.foreach { case (ok, cost) =>
res.foreach { case (_, cost) =>
val scaledCost = cost * 1 // this is the scale factor of CostModel with respect to the concrete hardware
val timeMicro = t * 1000 // time in microseconds
val error = if (scaledCost > timeMicro) {
Expand Down

0 comments on commit 2948e67

Please sign in to comment.